geno/wp-content/plugins/elementor/assets/js/notes.min.js

2 lines
9.5 KiB
JavaScript
Raw Permalink Normal View History

2024-02-01 17:24:18 +05:30
/*! elementor - v3.18.0 - 20-12-2023 */
(()=>{var e={7033:(e,t,r)=>{"use strict";var o=r(73203),n=r(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=o(r(78983)),a=o(r(42081)),i=o(r(58724)),s=o(r(71173)),l=o(r(74910)),c=_interopRequireWildcard(r(44171)),f=_interopRequireWildcard(r(14606));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=u?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}function _createSuper(e){var t=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(e){return!1}}();return function _createSuperInternal(){var r,o=(0,l.default)(e);if(t){var n=(0,l.default)(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return(0,s.default)(this,r)}}var p=function(e){(0,i.default)(EComponent,e);var t=_createSuper(EComponent);function EComponent(e){var r;return(0,u.default)(this,EComponent),(r=t.call(this,e)).loadModules(),r}return(0,a.default)(EComponent,[{key:"getNamespace",value:function getNamespace(){return"notes"}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(f)}},{key:"loadModules",value:function loadModules(){for(var e in c)new c[e]}}]),EComponent}($e.modules.ComponentBase);t.default=p},14606:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotesAddPanelMenuItem",{enumerable:!0,get:function get(){return o.NotesAddPanelMenuItem}});var o=r(36938)},36938:(e,t,r)=>{"use strict";var o=r(38003).__,n=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NotesAddPanelMenuItem=void 0;var u=n(r(78983)),a=n(r(42081)),i=n(r(58724)),s=n(r(71173)),l=n(r(74910));function _createSuper(e){var t=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(e){return!1}}();return function _createSuperInternal(){var r,o=(0,l.default)(e);if(t){var n=(0,l.default)(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return(0,s.default)(this,r)}}var c=function(e){(0,i.default)(NotesAddPanelMenuItem,e);var t=_createSuper(NotesAddPanelMenuItem);function NotesAddPanelMenuItem(){return(0,u.default)(this,NotesAddPanelMenuItem),t.apply(this,arguments)}return(0,a.default)(NotesAddPanelMenuItem,[{key:"getCommand",value:function getCommand(){return"panel/state-ready"}},{key:"getId",value:function getId(){return"notes-add-panel-menu-item"}},{key:"apply",value:function apply(){elementor.modules.layouts.panel.pages.menu.Menu.addItem({name:"notes",icon:"eicon-commenting-o",title:o("Notes","elementor")+'<i class="elementor-panel-menu-item-title-badge eicon-pro-icon"></i>',callback:function callback(){var e=elementor.helpers.hasProAndNotConnected();elementor.promotion.showDialog({title:o("Notes","elementor"),content:o("With Notes, teamwork gets even better. Stay in sync with comments, feedback & more on your website.","elementor"),position:{blockStart:"-3",inlineStart:"+10"},targetElement:this.$el,actionButton:{url:e?elementorProEditorConfig.urls.connect:"https://go.elementor.com/go-pro-notes/",text:o(e?"Connect & Activate":"Upgrade","elementor")}})}},"navigate_from_page","finder")}}]),NotesAddPanelMenuItem}($e.modules.hoo