芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/elementor/assets/js/announcements-app.min.js
/*! elementor - v3.12.1 - 02-04-2023 */ /*! For license information please see announcements-app.min.js.LICENSE.txt */ (()=>{var t={92602:(t,r)=>{"use strict";function _createForOfIteratorHelper(t,r){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function _unsupportedIterableToArray(t,r){if(!t)return;if("string"==typeof t)return _arrayLikeToArray(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _arrayLikeToArray(t,r)}(t))||r&&t&&"number"==typeof t.length){o&&(t=o);var a=0,i=function F(){};return{s:i,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,c=!0,l=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return c=t.done,t},e:function e(t){l=!0,u=t},f:function f(){try{c||null==o.return||o.return()}finally{if(l)throw u}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=new Array(r);o
{"use strict";var a=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=Announcement;var i=a(o(87363)),u=a(o(70966)),c=o(69201),l=a(o(23615)),p=["cta"];function Announcement(t){var r=t.announcement,o=t.onClose,a=r.cta,l=(0,u.default)(r,p);return i.default.createElement("div",{className:"announcement-item"},i.default.createElement(c.AnnouncementBody,{announcement:l}),i.default.createElement(c.AnnouncementFooter,{buttons:a,onClose:o}))}Announcement.propTypes={announcement:l.default.object.isRequired,onClose:l.default.func.isRequired}},82427:(t,r,o)=>{"use strict";var a=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=AnnouncementBody;var i=a(o(87363)),u=a(o(23615));function AnnouncementBody(t){var r=t.announcement,o=r.title,a=r.description,u=r.media;return i.default.createElement("div",{className:"announcement-body-container"},"image"===u.type&&i.default.createElement("div",{className:"announcement-body-media announcement-body-".concat(u.type)},i.default.createElement("img",{src:u.src,alt:"Announcement"})),i.default.createElement("div",{className:"announcement-body-content"},i.default.createElement("div",{className:"announcement-body-title"},o),i.default.createElement("div",{className:"announcement-body-description",dangerouslySetInnerHTML:{__html:a}})))}AnnouncementBody.propTypes={announcement:u.default.object.isRequired}},81527:(t,r,o)=>{"use strict";var a=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=AnnouncementFooter;var i=a(o(87363)),u=a(o(23615));function AnnouncementFooter(t){var r=t.buttons,o=t.onClose;return i.default.createElement("div",{className:"announcement-footer-container"},Object.values(r).map((function(t,r){return i.default.createElement("a",{key:"button".concat(r),className:"button-item ".concat(t.variant),href:t.url,target:t.target,onClick:function onClick(){return o("cta")}},t.label)})))}AnnouncementFooter.propTypes={buttons:u.default.oneOfType([u.default.array,u.default.object]),onClose:u.default.func.isRequired}},49504:(t,r,o)=>{"use strict";var a=o(73203),i=o(7501);Object.defineProperty(r,"__esModule",{value:!0}),r.default=Announcements;var u=function _interopRequireWildcard(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(r);if(o&&o.has(t))return o.get(t);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var l=u?Object.getOwnPropertyDescriptor(t,c):null;l&&(l.get||l.set)?Object.defineProperty(a,c,l):a[c]=t[c]}a.default=t,o&&o.set(t,a);return a}(o(87363)),c=a(o(93231)),l=o(69201),p=o(92602),d=a(o(23615));function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:r})(t)}function ownKeys(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var r=1;r
{"use strict";var a=o(38003).__,i=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=AnnouncementsHeader;var u=i(o(87363)),c=i(o(23615));function AnnouncementsHeader(t){var r=t.onClose;return u.default.createElement("div",{className:"announcements-heading-container"},u.default.createElement("i",{className:"eicon-elementor","aria-hidden":"true"}),u.default.createElement("span",{className:"heading-title"},a("What’s New","elementor")),u.default.createElement("button",{className:"close-button",onClick:function onClick(){return r("close")}},u.default.createElement("i",{className:"eicon-close","aria-hidden":"true"})))}AnnouncementsHeader.propTypes={onClose:c.default.func.isRequired}},40994:(t,r,o)=>{"use strict";var a=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=function Overlay(){return i.default.createElement("div",{className:"announcements-screen-overlay"})};var i=a(o(87363))},69201:(t,r,o)=>{"use strict";var a=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Announcement",{enumerable:!0,get:function get(){return u.default}}),Object.defineProperty(r,"AnnouncementBody",{enumerable:!0,get:function get(){return l.default}}),Object.defineProperty(r,"AnnouncementFooter",{enumerable:!0,get:function get(){return p.default}}),Object.defineProperty(r,"Announcements",{enumerable:!0,get:function get(){return i.default}}),Object.defineProperty(r,"AnnouncementsHeader",{enumerable:!0,get:function get(){return c.default}}),Object.defineProperty(r,"Overlay",{enumerable:!0,get:function get(){return d.default}});var i=a(o(49504)),u=a(o(55459)),c=a(o(83664)),l=a(o(82427)),p=a(o(81527)),d=a(o(40994))},88881:(t,r,o)=>{"use strict";var a=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=a(o(93231)),u=a(o(78983)),c=a(o(42081)),l=a(o(58724)),p=a(o(71173)),d=a(o(74910));function ownKeys(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var r=1;r
{"use strict";var a=o(90331);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,t.exports=function(){function shim(t,r,o,i,u,c){if(c!==a){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function getShim(){return shim}shim.isRequired=shim;var t={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return t.PropTypes=t,t}},23615:(t,r,o)=>{t.exports=o(58772)()},90331:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},87363:t=>{"use strict";t.exports=React},61533:t=>{"use strict";t.exports=ReactDOM},38003:t=>{"use strict";t.exports=wp.i18n},77266:t=>{t.exports=function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},10029:t=>{function asyncGeneratorStep(t,r,o,a,i,u,c){try{var l=t[u](c),p=l.value}catch(t){return void o(t)}l.done?r(p):Promise.resolve(p).then(a,i)}t.exports=function _asyncToGenerator(t){return function(){var r=this,o=arguments;return new Promise((function(a,i){var u=t.apply(r,o);function _next(t){asyncGeneratorStep(u,a,i,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(u,a,i,_next,_throw,"throw",t)}_next(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},78983:t=>{t.exports=function _classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},42081:(t,r,o)=>{var a=o(74040);function _defineProperties(t,r){for(var o=0;o
{var a=o(74040);t.exports=function _defineProperty(t,r,o){return(r=a(r))in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o,t},t.exports.__esModule=!0,t.exports.default=t.exports},74910:t=>{function _getPrototypeOf(r){return t.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,_getPrototypeOf(r)}t.exports=_getPrototypeOf,t.exports.__esModule=!0,t.exports.default=t.exports},58724:(t,r,o)=>{var a=o(96196);t.exports=function _inherits(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&a(t,r)},t.exports.__esModule=!0,t.exports.default=t.exports},73203:t=>{t.exports=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},70966:(t,r,o)=>{var a=o(22412);t.exports=function _objectWithoutProperties(t,r){if(null==t)return{};var o,i,u=a(t,r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);for(i=0;i
=0||Object.prototype.propertyIsEnumerable.call(t,o)&&(u[o]=t[o])}return u},t.exports.__esModule=!0,t.exports.default=t.exports},22412:t=>{t.exports=function _objectWithoutPropertiesLoose(t,r){if(null==t)return{};var o,a,i={},u=Object.keys(t);for(a=0;a
=0||(i[o]=t[o]);return i},t.exports.__esModule=!0,t.exports.default=t.exports},71173:(t,r,o)=>{var a=o(7501).default,i=o(77266);t.exports=function _possibleConstructorReturn(t,r){if(r&&("object"===a(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return i(t)},t.exports.__esModule=!0,t.exports.default=t.exports},21337:(t,r,o)=>{var a=o(7501).default;function _regeneratorRuntime(){"use strict";t.exports=_regeneratorRuntime=function _regeneratorRuntime(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var r={},o=Object.prototype,i=o.hasOwnProperty,u=Object.defineProperty||function(t,r,o){t[r]=o.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",p=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function define(t,r,o){return Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{define({},"")}catch(t){define=function define(t,r,o){return t[r]=o}}function wrap(t,r,o,a){var i=r&&r.prototype instanceof Generator?r:Generator,c=Object.create(i.prototype),l=new Context(a||[]);return u(c,"_invoke",{value:makeInvokeMethod(t,o,l)}),c}function tryCatch(t,r,o){try{return{type:"normal",arg:t.call(r,o)}}catch(t){return{type:"throw",arg:t}}}r.wrap=wrap;var y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var m={};define(m,l,(function(){return this}));var h=Object.getPrototypeOf,v=h&&h(h(values([])));v&&v!==o&&i.call(v,l)&&(m=v);var _=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(m);function defineIteratorMethods(t){["next","throw","return"].forEach((function(r){define(t,r,(function(t){return this._invoke(r,t)}))}))}function AsyncIterator(t,r){function invoke(o,u,c,l){var p=tryCatch(t[o],t,u);if("throw"!==p.type){var d=p.arg,y=d.value;return y&&"object"==a(y)&&i.call(y,"__await")?r.resolve(y.__await).then((function(t){invoke("next",t,c,l)}),(function(t){invoke("throw",t,c,l)})):r.resolve(y).then((function(t){d.value=t,c(d)}),(function(t){return invoke("throw",t,c,l)}))}l(p.arg)}var o;u(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new r((function(r,o){invoke(t,a,r,o)}))}return o=o?o.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(t,r,o){var a="suspendedStart";return function(i,u){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===i)throw u;return doneResult()}for(o.method=i,o.arg=u;;){var c=o.delegate;if(c){var l=maybeInvokeDelegate(c,o);if(l){if(l===y)continue;return l}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===a)throw a="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);a="executing";var p=tryCatch(t,r,o);if("normal"===p.type){if(a=o.done?"completed":"suspendedYield",p.arg===y)continue;return{value:p.arg,done:o.done}}"throw"===p.type&&(a="completed",o.method="throw",o.arg=p.arg)}}}function maybeInvokeDelegate(t,r){var o=r.method,a=t.iterator[o];if(void 0===a)return r.delegate=null,"throw"===o&&t.iterator.return&&(r.method="return",r.arg=void 0,maybeInvokeDelegate(t,r),"throw"===r.method)||"return"!==o&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+o+"' method")),y;var i=tryCatch(a,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var u=i.arg;return u?u.done?(r[t.resultName]=u.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,y):u:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function resetTryEntry(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(t){if(t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function next(){for(;++o
=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return handle("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev
=0;--o){var a=this.tryEntries[o];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev
=0;--r){var o=this.tryEntries[r];if(o.finallyLoc===t)return this.complete(o.completion,o.afterLoc),resetTryEntry(o),y}},catch:function _catch(t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc===t){var a=o.completion;if("throw"===a.type){var i=a.arg;resetTryEntry(o)}return i}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(t,r,o){return this.delegate={iterator:values(t),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=void 0),y}},r}t.exports=_regeneratorRuntime,t.exports.__esModule=!0,t.exports.default=t.exports},96196:t=>{function _setPrototypeOf(r,o){return t.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,r){return t.__proto__=r,t},t.exports.__esModule=!0,t.exports.default=t.exports,_setPrototypeOf(r,o)}t.exports=_setPrototypeOf,t.exports.__esModule=!0,t.exports.default=t.exports},56027:(t,r,o)=>{var a=o(7501).default;t.exports=function _toPrimitive(t,r){if("object"!==a(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,r||"default");if("object"!==a(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},74040:(t,r,o)=>{var a=o(7501).default,i=o(56027);t.exports=function _toPropertyKey(t){var r=i(t,"string");return"symbol"===a(r)?r:String(r)},t.exports.__esModule=!0,t.exports.default=t.exports},7501:t=>{function _typeof(r){return t.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,_typeof(r)}t.exports=_typeof,t.exports.__esModule=!0,t.exports.default=t.exports},50824:(t,r,o)=>{var a=o(21337)();t.exports=a;try{regeneratorRuntime=a}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}}},r={};function __webpack_require__(o){var a=r[o];if(void 0!==a)return a.exports;var i=r[o]={exports:{}};return t[o](i,i.exports,__webpack_require__),i.exports}(()=>{"use strict";var t=__webpack_require__(61533),r=__webpack_require__(73203);var o=r(__webpack_require__(87363)),a=r(__webpack_require__(50824)),i=r(__webpack_require__(10029)),u=r(__webpack_require__(78983)),c=r(__webpack_require__(42081)),l=__webpack_require__(69201),p=r(__webpack_require__(88881)),d=function(){function AnnouncementIndex(){(0,u.default)(this,AnnouncementIndex),this.initAnnouncement()}var r;return(0,c.default)(AnnouncementIndex,[{key:"initAnnouncement",value:(r=(0,i.default)(a.default.mark((function _callee(){var r,i,u;return a.default.wrap((function _callee$(a){for(;;)switch(a.prev=a.next){case 0:if(i=document.getElementById("e-announcements-root"),(u=null===(r=window.elementorAnnouncementsConfig)||void 0===r?void 0:r.announcements)&&i){a.next=4;break}return a.abrupt("return");case 4:return a.next=6,$e.components.register(new p.default);case 6:t.render(o.default.createElement(o.default.Fragment,null,o.default.createElement(l.Overlay,null),o.default.createElement(l.Announcements,{announcements:u})),i);case 7:case"end":return a.stop()}}),_callee)}))),function initAnnouncement(){return r.apply(this,arguments)})}]),AnnouncementIndex}();new d})()})();