Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/plugins/elementor/assets/js/announcements-app.min.js
Назад
/*! elementor - v3.25.0 - 19-11-2024 */ /*! 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<r;o++)a[o]=t[o];return a}Object.defineProperty(r,"__esModule",{value:!0}),r.appsEventTrackingDispatch=void 0;r.appsEventTrackingDispatch=function appsEventTrackingDispatch(t,r){var o=function objectCreator(t,o){var a,i=_createForOfIteratorHelper(t);try{for(i.s();!(a=i.n()).done;){var u=a.value;r.hasOwnProperty(u)&&null!==r[u]&&(o[u]=r[u])}}catch(t){i.e(t)}finally{i.f()}return o},a=[],i=["layout","site_part","error","document_name","document_type","view_type_clicked","tag","sort_direction","sort_type","action","grid_location","kit_name","page_source","element_position","element","event_type","modal_type","method","status","step","item","category","element_location","search_term","section","site_area"],u={},c={};!function init(){o(i,c),o(a,u);var r=t.split("/");u.placement=r[0],u.event=r[1],Object.keys(c).length&&(u.details=c)}(),$e.run(t,u)}},66535:(t,r,o)=>{"use strict";var a=o(7501);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;_interopRequireWildcard(o(87363));var i=_interopRequireWildcard(o(61533)),u=o(37634);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 _interopRequireWildcard(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!==a(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(r);if(o&&o.has(t))return o.get(t);var i={},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(i,c,l):i[c]=t[c]}return i.default=t,o&&o.set(t,i),i}var c={render:function render(t,r){var o;try{var a=(0,u.createRoot)(r);a.render(t),o=function unmountFunction(){a.unmount()}}catch(a){i.render(t,r),o=function unmountFunction(){i.unmountComponentAtNode(r)}}return{unmount:o}}};r.default=c},55459:(t,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=a(o(40131)),p=o(69201),d=o(92602),y=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<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(o),!0).forEach((function(r){(0,c.default)(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}function Announcements(t){var r=t.announcements,o=t.unMount,a=(0,u.useState)(0),i=(0,l.default)(a,2),c=i[0],y=i[1],m=Object.values(r)[0].title||"";(0,u.useEffect)((function(){var t=setTimeout((function(){v("impression",{event_name:"element_impression",element_type:"popup",eventNonInteraction:1})}),200);return function(){return clearTimeout(t)}}),[r]);var h=function onCloseHandle(t){if(v(t,{event_name:"element_click",element_type:"button"}),r.shift(),0===r.length)return o();y(c+1)},v=function eventTrackingHandle(t,r){var o=_objectSpread(_objectSpread({},{event:"fireEvent",eventCategory:"editor",eventAction:"whats new popup",eventLabel:t,eventLabel2:m,event_action:t,event_location:"popup",event_context:"whats new",event_subcontext:m,element_id:"e-announcements-root"}),r);(0,d.appsEventTrackingDispatch)("announcement/".concat(t),o)};return u.default.createElement("div",{className:"announcements-container"},u.default.createElement(p.AnnouncementsHeader,{onClose:h}),u.default.createElement(p.Announcement,{key:"announcement-".concat(c),announcement:r[0],onClose:h}))}Announcements.propTypes={announcements:y.default.oneOfType([y.default.array,y.default.object]).isRequired,unMount:y.default.func.isRequired}},83664:(t,r,o)=>{"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("Notifications","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<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(o),!0).forEach((function(r){(0,i.default)(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}function _createSuper(t){var r=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var o,a=(0,d.default)(t);if(r){var i=(0,d.default)(this).constructor;o=Reflect.construct(a,arguments,i)}else o=a.apply(this,arguments);return(0,p.default)(this,o)}}var y=function(t){(0,l.default)(EComponent,t);var r=_createSuper(EComponent);function EComponent(){return(0,u.default)(this,EComponent),r.apply(this,arguments)}return(0,c.default)(EComponent,[{key:"getNamespace",value:function getNamespace(){return"announcement"}},{key:"defaultCommands",value:function defaultCommands(){return["close","cta","impression"].reduce((function(t,r){return _objectSpread(_objectSpread({},t),{},(0,i.default)({},r,(function(){})))}),{})}}]),EComponent}($e.modules.ComponentBase);r.default=y},58772:(t,r,o)=>{"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"},37634:(t,r,o)=>{"use strict";var a=o(61533);r.createRoot=a.createRoot,r.hydrateRoot=a.hydrateRoot},87363:t=>{"use strict";t.exports=React},61533:t=>{"use strict";t.exports=ReactDOM},38003:t=>{"use strict";t.exports=wp.i18n},98106:t=>{t.exports=function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=new Array(r);o<r;o++)a[o]=t[o];return a},t.exports.__esModule=!0,t.exports.default=t.exports},17358:t=>{t.exports=function _arrayWithHoles(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},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<r.length;o++){var i=r[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,a(i.key),i)}}t.exports=function _createClass(t,r,o){return r&&_defineProperties(t.prototype,r),o&&_defineProperties(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},93231:(t,r,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},40608:t=>{t.exports=function _iterableToArrayLimit(t,r){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a,i,u,c,l=[],p=!0,d=!1;try{if(u=(o=o.call(t)).next,0===r){if(Object(o)!==o)return;p=!1}else for(;!(p=(a=u.call(o)).done)&&(l.push(a.value),l.length!==r);p=!0);}catch(t){d=!0,i=t}finally{try{if(!p&&null!=o.return&&(c=o.return(),Object(c)!==c))return}finally{if(d)throw i}}return l}},t.exports.__esModule=!0,t.exports.default=t.exports},56894:t=>{t.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},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<c.length;i++)o=c[i],r.indexOf(o)>=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<u.length;a++)o=u[a],r.indexOf(o)>=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 o},t.exports.__esModule=!0,t.exports.default=t.exports;var r,o={},i=Object.prototype,u=i.hasOwnProperty,c=Object.defineProperty||function(t,r,o){t[r]=o.value},l="function"==typeof Symbol?Symbol:{},p=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",y=l.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(r){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,u=Object.create(i.prototype),l=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,o,l)}),u}function tryCatch(t,r,o){try{return{type:"normal",arg:t.call(r,o)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var m="suspendedStart",h="suspendedYield",v="executing",_="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var g={};define(g,p,(function(){return this}));var x=Object.getPrototypeOf,O=x&&x(x(values([])));O&&O!==i&&u.call(O,p)&&(g=O);var w=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(g);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,i,c,l){var p=tryCatch(t[o],t,i);if("throw"!==p.type){var d=p.arg,y=d.value;return y&&"object"==a(y)&&u.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;c(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,o,a){var i=m;return function(u,c){if(i===v)throw new Error("Generator is already running");if(i===_){if("throw"===u)throw c;return{value:r,done:!0}}for(a.method=u,a.arg=c;;){var l=a.delegate;if(l){var p=maybeInvokeDelegate(l,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===m)throw i=_,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=v;var d=tryCatch(t,o,a);if("normal"===d.type){if(i=a.done?_:h,d.arg===b)continue;return{value:d.arg,done:a.done}}"throw"===d.type&&(i=_,a.method="throw",a.arg=d.arg)}}}function maybeInvokeDelegate(t,o){var a=o.method,i=t.iterator[a];if(i===r)return o.delegate=null,"throw"===a&&t.iterator.return&&(o.method="return",o.arg=r,maybeInvokeDelegate(t,o),"throw"===o.method)||"return"!==a&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var u=tryCatch(i,t.iterator,o.arg);if("throw"===u.type)return o.method="throw",o.arg=u.arg,o.delegate=null,b;var c=u.arg;return c?c.done?(o[t.resultName]=c.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=r),o.delegate=null,b):c:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,b)}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||""===t){var o=t[p];if(o)return o.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,c=function next(){for(;++i<t.length;)if(u.call(t,i))return next.value=t[i],next.done=!1,next;return next.value=r,next.done=!0,next};return c.next=c}}throw new TypeError(a(t)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,c(w,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),c(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,y,"GeneratorFunction"),o.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===GeneratorFunction||"GeneratorFunction"===(r.displayName||r.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,y,"GeneratorFunction")),t.prototype=Object.create(w),t},o.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,d,(function(){return this})),o.AsyncIterator=AsyncIterator,o.async=function(t,r,a,i,u){void 0===u&&(u=Promise);var c=new AsyncIterator(wrap(t,r,a,i),u);return o.isGeneratorFunction(r)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},defineIteratorMethods(w),define(w,y,"Generator"),define(w,p,(function(){return this})),define(w,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var r=Object(t),o=[];for(var a in r)o.push(a);return o.reverse(),function next(){for(;o.length;){var t=o.pop();if(t in r)return next.value=t,next.done=!1,next}return next.done=!0,next}},o.values=values,Context.prototype={constructor:Context,reset:function reset(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(resetTryEntry),!t)for(var o in this)"t"===o.charAt(0)&&u.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=r)},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function dispatchException(t){if(this.done)throw t;var o=this;function handle(a,i){return c.type="throw",c.arg=t,o.next=a,i&&(o.method="next",o.arg=r),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var l=u.call(i,"catchLoc"),p=u.call(i,"finallyLoc");if(l&&p){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!p)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function abrupt(t,r){for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o];if(a.tryLoc<=this.prev&&u.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=r,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(c)},complete:function complete(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),b},finish:function finish(t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.finallyLoc===t)return this.complete(o.completion,o.afterLoc),resetTryEntry(o),b}},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,o,a){return this.delegate={iterator:values(t),resultName:o,nextLoc:a},"next"===this.method&&(this.arg=r),b}},o}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},40131:(t,r,o)=>{var a=o(17358),i=o(40608),u=o(35068),c=o(56894);t.exports=function _slicedToArray(t,r){return a(t)||i(t,r)||u(t,r)||c()},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)||!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},35068:(t,r,o)=>{var a=o(98106);t.exports=function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return a(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?a(t,r):void 0}},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__(73203);var r=t(__webpack_require__(87363)),o=t(__webpack_require__(50824)),a=t(__webpack_require__(10029)),i=t(__webpack_require__(78983)),u=t(__webpack_require__(42081)),c=t(__webpack_require__(66535)),l=__webpack_require__(69201),p=t(__webpack_require__(88881)),d=function(){function AnnouncementIndex(){(0,i.default)(this,AnnouncementIndex),this.initAnnouncement()}var t;return(0,u.default)(AnnouncementIndex,[{key:"initAnnouncement",value:(t=(0,a.default)(o.default.mark((function _callee(){var t,a,i,u,d;return o.default.wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:if(a=document.getElementById("e-announcements-root"),(i=null===(t=window.elementorAnnouncementsConfig)||void 0===t?void 0:t.announcements)&&a){o.next=4;break}return o.abrupt("return");case 4:return o.next=6,$e.components.register(new p.default);case 6:u=c.default.render(r.default.createElement(r.default.Fragment,null,r.default.createElement(l.Overlay,null),r.default.createElement(l.Announcements,{announcements:i,unMount:function unMount(){d(),a.remove()}})),a),d=u.unmount;case 7:case"end":return o.stop()}}),_callee)}))),function initAnnouncement(){return t.apply(this,arguments)})}]),AnnouncementIndex}();new d})()})();
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка