AlkantarClanX12
Current Path : /home/thanudqk/siampokernew.org/wp-content/plugins/elementor/assets/js/ |
Current File : //home/thanudqk/siampokernew.org/wp-content/plugins/elementor/assets/js/gutenberg.min.js |
/*! elementor - v3.1.1 - 31-01-2021 */ (()=>{var e={22761:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},42094:(e,t,r)=>{var n=r(62190)("unscopables"),o=Array.prototype;null==o[n]&&r(74216)(o,n,{}),e.exports=function(e){o[n][e]=!0}},6365:(e,t,r)=>{var n=r(67334);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},78309:(e,t,r)=>{var n=r(11528),o=r(8467),i=r(26033),c=r(26078),a=r(63531);e.exports=function(e,t){var r=1==e,u=2==e,s=3==e,l=4==e,f=6==e,d=5==e||f,p=t||a;return function(t,a,h){for(var v,g,m=i(t),y=o(m),b=n(a,h,3),_=c(y.length),w=0,x=r?p(t,_):u?p(t,0):void 0;_>w;w++)if((d||w in y)&&(g=b(v=y[w],w,m),e))if(r)x[w]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:x.push(v)}else if(l)return!1;return f?-1:s||l?l:x}}},81071:(e,t,r)=>{var n=r(67334),o=r(99141),i=r(62190)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),n(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},63531:(e,t,r)=>{var n=r(81071);e.exports=function(e,t){return new(n(e))(t)}},26688:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},60066:e=>{var t=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=t)},11528:(e,t,r)=>{var n=r(22761);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},61622:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},36628:(e,t,r)=>{e.exports=!r(48625)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},5050:(e,t,r)=>{var n=r(67334),o=r(38113).document,i=n(o)&&n(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},65772:(e,t,r)=>{var n=r(38113),o=r(60066),i=r(74216),c=r(17738),a=r(11528),$export=function(e,t,r){var u,s,l,f,d=e&$export.F,p=e&$export.G,h=e&$export.S,v=e&$export.P,g=e&$export.B,m=p?n:h?n[t]||(n[t]={}):(n[t]||{}).prototype,y=p?o:o[t]||(o[t]={}),b=y.prototype||(y.prototype={});for(u in p&&(r=t),r)l=((s=!d&&m&&void 0!==m[u])?m:r)[u],f=g&&s?a(l,n):v&&"function"==typeof l?a(Function.call,l):l,m&&c(m,u,l,e&$export.U),y[u]!=l&&i(y,u,f),v&&b[u]!=l&&(b[u]=l)};n.core=o,$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128,e.exports=$export},48625:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},20646:(e,t,r)=>{e.exports=r(8655)("native-function-to-string",Function.toString)},38113:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},54040:e=>{var t={}.hasOwnProperty;e.exports=function(e,r){return t.call(e,r)}},74216:(e,t,r)=>{var n=r(98558),o=r(36061);e.exports=r(36628)?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},5100:(e,t,r)=>{e.exports=!r(36628)&&!r(48625)((function(){return 7!=Object.defineProperty(r(5050)("div"),"a",{get:function(){return 7}}).a}))},8467:(e,t,r)=>{var n=r(26688);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},99141:(e,t,r)=>{var n=r(26688);e.exports=Array.isArray||function isArray(e){return"Array"==n(e)}},67334:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},81422:e=>{e.exports=!1},98558:(e,t,r)=>{var n=r(6365),o=r(5100),i=r(31382),c=Object.defineProperty;t.f=r(36628)?Object.defineProperty:function defineProperty(e,t,r){if(n(e),t=i(t,!0),n(r),o)try{return c(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},36061:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},17738:(e,t,r)=>{var n=r(38113),o=r(74216),i=r(54040),c=r(25078)("src"),a=r(20646),u="toString",s=(""+a).split(u);r(60066).inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,r,a){var u="function"==typeof r;u&&(i(r,"name")||o(r,"name",t)),e[t]!==r&&(u&&(i(r,c)||o(r,c,e[t]?""+e[t]:s.join(String(t)))),e===n?e[t]=r:a?e[t]?e[t]=r:o(e,t,r):(delete e[t],o(e,t,r)))})(Function.prototype,u,(function toString(){return"function"==typeof this&&this[c]||a.call(this)}))},8655:(e,t,r)=>{var n=r(60066),o=r(38113),i="__core-js_shared__",c=o[i]||(o[i]={});(e.exports=function(e,t){return c[e]||(c[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(81422)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},3338:e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},26078:(e,t,r)=>{var n=r(3338),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},26033:(e,t,r)=>{var n=r(61622);e.exports=function(e){return Object(n(e))}},31382:(e,t,r)=>{var n=r(67334);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},25078:e=>{var t=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+r).toString(36))}},62190:(e,t,r)=>{var n=r(8655)("wks"),o=r(25078),i=r(38113).Symbol,c="function"==typeof i;(e.exports=function(e){return n[e]||(n[e]=c&&i[e]||(c?i:o)("Symbol."+e))}).store=n},71954:(e,t,r)=>{"use strict";var n=r(65772),o=r(78309)(5),i="find",c=!0;i in[]&&Array(1).find((function(){c=!1})),n(n.P+n.F*c,"Array",{find:function find(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),r(42094)(i)},18194:e=>{"use strict";e.exports=wp.i18n}},t={};function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={exports:{}};return e[r](n,n.exports,__webpack_require__),n.exports}(()=>{"use strict";var e,t,r=__webpack_require__(18194).__;__webpack_require__(71954),e=jQuery,t={cacheElements:function cacheElements(){var t=this;t.isElementorMode=ElementorGutenbergSettings.isElementorMode,t.cache={},t.cache.$gutenberg=e("#editor"),t.cache.$switchMode=e(e("#elementor-gutenberg-button-switch-mode").html()),t.cache.$switchModeButton=t.cache.$switchMode.find("#elementor-switch-mode-button"),t.bindEvents(),t.toggleStatus(),wp.data.subscribe((function(){setTimeout((function(){t.buildPanel()}),1)}))},buildPanel:function buildPanel(){var t=this;t.cache.$gutenberg.find("#elementor-switch-mode").length||t.cache.$gutenberg.find(".edit-post-header-toolbar").append(t.cache.$switchMode),e("#elementor-editor").length||(t.cache.$editorPanel=e(e("#elementor-gutenberg-panel").html()),t.cache.$gurenbergBlockList=t.cache.$gutenberg.find(".editor-block-list__layout, .editor-post-text-editor, .block-editor-block-list__layout"),t.cache.$gurenbergBlockList.after(t.cache.$editorPanel),t.cache.$editorPanelButton=t.cache.$editorPanel.find("#elementor-go-to-edit-page-link"),t.cache.$editorPanelButton.on("click",(function(r){r.preventDefault(),t.animateLoader(),"auto-draft"===wp.data.select("core/editor").getCurrentPost().status&&(wp.data.select("core/editor").getEditedPostAttribute("title")||wp.data.dispatch("core/editor").editPost({title:"Elementor #"+e("#post_ID").val()}),wp.data.dispatch("core/editor").savePost()),t.redirectWhenSave()})))},bindEvents:function bindEvents(){var e=this;e.cache.$switchModeButton.on("click",(function(){e.isElementorMode?elementorCommon.dialogsManager.createWidget("confirm",{message:r("Please note that you are switching to WordPress default editor. Your current layout, design and content might break.","elementor"),headerMessage:r("Back to WordPress Editor","elementor"),strings:{confirm:r("Continue","elementor"),cancel:r("Cancel","elementor")},defaultOption:"confirm",onConfirm:function onConfirm(){var t=wp.data.dispatch("core/editor");t.editPost({gutenberg_elementor_mode:!1}),t.savePost(),e.isElementorMode=!e.isElementorMode,e.toggleStatus()}}).show():(e.isElementorMode=!e.isElementorMode,e.toggleStatus(),e.cache.$editorPanelButton.trigger("click"))}))},redirectWhenSave:function redirectWhenSave(){var e=this;setTimeout((function(){wp.data.select("core/editor").isSavingPost()?e.redirectWhenSave():location.href=ElementorGutenbergSettings.editLink}),300)},animateLoader:function animateLoader(){this.cache.$editorPanelButton.addClass("elementor-animate")},toggleStatus:function toggleStatus(){jQuery("body").toggleClass("elementor-editor-active",this.isElementorMode).toggleClass("elementor-editor-inactive",!this.isElementorMode)},init:function init(){this.cacheElements()}},e((function(){t.init()}))})()})();