HEX
Server: Apache
System: Linux efa57bbe-abb1-400d-2985-3b056fbc2701.secureserver.net 6.1.147-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 24 12:33:32 EDT 2025 x86_64
User: root (0)
PHP: 8.0.30.4
Disabled: NONE
Upload Files
File: //var/www/wp-content/plugins/simply-gallery-block/dist/welcome.build.js
(()=>{var e={317:e=>{e.exports=XMLHttpRequest}},t={};function l(n){var a=t[n];if(void 0!==a)return a.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,l),r.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=wp.element.createElement("svg",{className:"simply-icon",width:"22px",height:"22px",viewBox:"0 0 298.73 298.73",fill:"#0085ba",fillRule:"nonzero"},wp.element.createElement("g",{xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{xmlns:"http://www.w3.org/2000/svg",d:"M264.959,9.35H33.787C15.153,9.35,0,24.498,0,43.154v212.461c0,18.634,15.153,33.766,33.787,33.766   h231.171c18.634,0,33.771-15.132,33.771-33.766V43.154C298.73,24.498,283.593,9.35,264.959,9.35z M193.174,59.623   c18.02,0,32.634,14.615,32.634,32.634s-14.615,32.634-32.634,32.634c-18.025,0-32.634-14.615-32.634-32.634   S175.149,59.623,193.174,59.623z M254.363,258.149H149.362H49.039c-9.013,0-13.027-6.521-8.964-14.566l56.006-110.93   c4.058-8.044,11.792-8.762,17.269-1.605l56.316,73.596c5.477,7.158,15.05,7.767,21.386,1.354l13.777-13.951   c6.331-6.413,15.659-5.619,20.826,1.762l35.675,50.959C266.487,252.16,263.376,258.149,254.363,258.149z"}))),t=(wp.element.createElement("svg",{enableBackground:"new 0 0 48 48",height:"24px",version:"1.1",viewBox:"0 0 48 48",width:"24px"},wp.element.createElement("g",null,wp.element.createElement("path",{id:"svg_4",d:"m0.062,21.972113l21.943,0l0,-21.943l-21.943,0l0,21.943z",fill:"#0085ba"}),wp.element.createElement("path",{id:"svg_5",d:"m26.027885,21.972113l21.943,0l0,-21.943l-21.943,0l0,21.943z",fill:"#01273a"}),wp.element.createElement("path",{id:"svg_6",d:"m26.027885,47.937997l21.943,0l0,-21.943l-21.943,0l0,21.943z",fill:"#0085ba"}),wp.element.createElement("path",{id:"svg_7",d:"m0.005183,47.937997l21.943,0l0,-21.943l-21.943,0l0,21.943z",fill:"#01273a"}))),wp.element.createElement("svg",{enableBackground:"new 0 0 48 48",height:"24px",version:"1.1",viewBox:"0 0 48 48",width:"24px"},wp.element.createElement("g",{xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"4.204546",transform:"rotate(90 15,11) ",y:"-4.180727",width:"21.07",height:"29.498",fill:"#0085ba"}),wp.element.createElement("rect",{transform:"rotate(-90 33,37) ",y:"22.682727",x:"22.725454",width:"21.07",height:"29.498",fill:"#0085ba"}),wp.element.createElement("rect",{transform:"rotate(90 41,10) ",y:"3.717",x:"30.623183",width:"21.07",height:"13.695",fill:"#01273a"}),wp.element.createElement("rect",{x:"-3.693182",transform:"rotate(90 7,37) ",y:"30.588",width:"21.07",height:"13.695",fill:"#01273a"}))),wp.element.createElement("svg",{enableBackground:"new 0 0 48 48",height:"24px",version:"1.1",viewBox:"0 0 48 48",width:"24px"},wp.element.createElement("g",null,wp.element.createElement("rect",{fill:"#0085ba",height:"29.498",width:"21.07",y:"-0.033"}),wp.element.createElement("rect",{fill:"#0085ba",height:"29.498",width:"21.07",x:"26.93",y:"18.535"}),wp.element.createElement("rect",{fill:"#01273a",height:"13.695",width:"21.07",x:"26.93",y:"-0.033"}),wp.element.createElement("rect",{fill:"#01273a",height:"13.695",width:"21.07",y:"34.338"}))),wp.element.createElement("svg",{enableBackground:"new 0 0 24 24",height:"24px",version:"1.1",viewBox:"0 0 24 24",width:"24px"},wp.element.createElement("g",null,wp.element.createElement("rect",{height:"12",width:"3",y:"2",x:"0",fill:"#0085ba"}),wp.element.createElement("rect",{height:"12",width:"3",y:"2",x:"21",fill:"#0085ba"}),wp.element.createElement("rect",{height:"17",width:"14",y:"0",x:"5",fill:"#0085ba"}),wp.element.createElement("rect",{height:"5",width:"7",y:"19",x:"0",fill:"#01273a"}),wp.element.createElement("rect",{height:"5",width:"7",y:"19",x:"8.5",fill:"#01273a"}),wp.element.createElement("rect",{height:"5",width:"7",y:"19",x:"17",fill:"#01273a"}))),wp.element.createElement("svg",{enableBackground:"new 0 0 24 24",height:"24px",version:"1.1",viewBox:"0 0 24 24",width:"24px"},wp.element.createElement("g",null,wp.element.createElement("rect",{height:"17",width:"24",y:"0",x:"0",fill:"#0085ba"}),wp.element.createElement("rect",{height:"5",width:"7",y:"19",x:"0",fill:"#01273a"}),wp.element.createElement("rect",{height:"5",width:"7",y:"19",x:"8.5",fill:"#01273a"}),wp.element.createElement("rect",{height:"5",width:"7",y:"19",x:"17",fill:"#01273a"}))),wp.element.createElement("svg",{enableBackground:"new 0 0 24 24",height:"24px",version:"1.1",viewBox:"0 0 24 24",width:"24px"},wp.element.createElement("g",null,wp.element.createElement("rect",{fill:"#0085ba",id:"canvas_background",height:"26",width:"26",y:"0",x:"0"})),wp.element.createElement("g",null,wp.element.createElement("text",{fontWeight:"bold",fontStyle:"normal",xmlSpace:"preserve",textAnchor:"start",fontFamily:"Georgia, Times, 'Times New Roman', serif",fontSize:"18",id:"svg_11",y:"17",x:"0",strokeWidth:"0",stroke:"#fff",fill:"#ffffff"},"[/]"))),wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},wp.element.createElement("g",null,wp.element.createElement("rect",{fill:"#0085ba",id:"canvas_background",height:"26",width:"26",y:"-1",x:"-1"})),wp.element.createElement("g",null,wp.element.createElement("path",{fill:"none",id:"svg_1",strokeWidth:"2",strokeLinejoin:"round",strokeLinecap:"round",stroke:"#ffffff",d:"m12,6.12638l0,13.00002m0,-13.00002c-1.1679,-0.77592 -2.75351,-1.25278 -4.5,-1.25278c-1.74649,0 -3.33211,0.47686 -4.5,1.25278l0,13.00002c1.16789,-0.7759 2.75351,-1.2528 4.5,-1.2528c1.74649,0 3.3321,0.4769 4.5,1.2528m0,-13.00002c1.1679,-0.77592 2.7535,-1.25278 4.5,-1.25278c1.7465,0 3.3321,0.47686 4.5,1.25278l0,13.00002c-1.1679,-0.7759 -2.7535,-1.2528 -4.5,-1.2528c-1.7465,0 -3.3321,0.4769 -4.5,1.2528"}))),wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},wp.element.createElement("g",null,wp.element.createElement("path",{fill:"#0085ba",d:"M27,2H7a2.92,2.92,0,0,0-2.11.87A2.94,2.94,0,0,0,4,5V29a1,1,0,0,0,1,1H23a1,1,0,0,0,1-1V26h3a1,1,0,0,0,1-1V3A1,1,0,0,0,27,2ZM13,14a2,2,0,1,1-2-2A2,2,0,0,1,13,14Zm7.88,9.47A1,1,0,0,1,20,24H8a1,1,0,0,1-.8-1.6l3-4a1,1,0,0,1,1.25-.29l1.35.67,2.49-2.49A1,1,0,0,1,16.1,16a1,1,0,0,1,.73.45l4,6A1,1,0,0,1,20.88,23.47ZM26,24H24V7a1,1,0,0,0-1-1H7A1,1,0,0,1,6,5a1,1,0,0,1,.31-.71A1,1,0,0,1,7,4H26Z"}))),l(317)),n=l.n(t);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function r(e,t){for(var l=0;l<t.length;l++){var n=t[l];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,o(n.key),n)}}function o(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var n=l.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return t=e,o=[{key:"ICONS",get:function(){return{}}},{key:"sanitizeString",value:function(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;","\n":"","\t":""};return e.replace(/[&<>"'/]/gi,(function(e){return t[e]})).trim()}},{key:"isTouchDevice",get:function(){return window.wp&&wp.media&&wp.media.isTouchDevice?wp.media.isTouchDevice:window.navigator.maxTouchPoints||"ontouchstart"in window}},{key:"browser",get:function(){var e=window.navigator.userAgent,t=e.indexOf("Chrome")>-1;if(e.indexOf("MSIE")>-1)return"explorer";if(e.indexOf("Firefox")>-1)return"firefox";var l=e.indexOf("Safari")>-1,n=e.toLowerCase().indexOf("op")>-1;return n&&!t?"opera":t&&!n||t&&l?"chrome":l&&!t?"safari":void 0}},{key:"passiveListener",get:function(){var e=!1;try{var t={get:function(){e=!0}},l=Object.defineProperty({},"passive",t);window.addEventListener("testPassive",null,l),window.removeEventListener("testPassive",null,l)}catch(e){}return!!e&&{passive:!1,capture:!1}}},{key:"indexByPosition",value:function(e,t,l){var n=parseInt(t/e.width),a=Math.floor(l.y/e.height),r=Math.floor(l.x/e.width);return Math.max(0,a*n+r)}},{key:"pageXOffset",get:function(){return void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft}},{key:"pageYOffset",get:function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop}},{key:"moduleSettings",value:function(e){return window[e]&&window[e].settings?window[e].settings:null}},{key:"updateProperties",value:function(e,t){for(var l=Object.keys(e),n=0;n<l.length;n+=1){var a=l[n];Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}}},{key:"copyProperties",value:function(e,t){return t=Object.assign(t,e)}},{key:"trace",get:function(){return console.log}},{key:"checkScrip",value:function(e){for(var t=document.getElementsByTagName("script"),l=0;l<t.length;l+=1){var n=t[l];if(n.src===e)return l=t.length,n}return!1}},{key:"loadExtScripts",value:function(t,l){function n(){e.trace(this.src,"error")}for(var a=0;a<t.length;a+=1){var r=t[a],o=r.src,i=r.id,c=e.checkScrip(o);c||((c=document.createElement("script")).src=o,c.id="".concat(i,"_js"),c.async=!0,l&&(c.onload=l),c.onerror=n,document.body.appendChild(c))}}},{key:"getViewPortsBySelector",value:function(e){return document.querySelectorAll('div[data-gallery-id="'.concat(e,'"]'))}},{key:"requestAttachments",value:function(t,l,r,o){var i=new URL(t);i.searchParams.set("_fs_blog_admin","true");var c=new(n());c.open("POST",i,!0),c.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),c.onreadystatechange=function(){if(4===c.readyState){var e={};200!==c.status?e.error=c.statusText:e.data=c.responseText,r&&(e.params=r),o&&"function"==typeof o&&o(e)}},c.onerror=function(){e.trace("An error occurred while transferring the file.")};try{var m,s=[];for(m in l)if(Object.prototype.hasOwnProperty.call(l,m))if("object"===a(l[m])){for(var p in l[m])if(Object.prototype.hasOwnProperty.call(l[m],p))if(Array.isArray(l[m][p]))for(var u=l[m][p],d=0;d<u.length;d+=1)s.push("".concat(encodeURIComponent("".concat(m,"[").concat(p,"][]")),"=").concat(encodeURIComponent(u[d])));else s.push("".concat(encodeURIComponent("".concat(m,"[").concat(p,"]")),"=").concat(encodeURIComponent(l[m][p])))}else s.push("".concat(encodeURIComponent(m),"=").concat(encodeURIComponent(l[m])));c.send(s.join("&"))}catch(t){e.trace(t)}}},{key:"request2",value:function(t,l,a,r,o){var i=new URL(t),c=new(n()),m="";if(c.open("POST",i,!0),c.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),c.onreadystatechange=function(){if(4===c.readyState){var e={};200!==c.status?e.error=c.statusText:e.data=c.responseText,o&&"function"==typeof o&&o(e)}},r){var s=Object.keys(r);if(s.length)for(var p=0;p<s.length;p+=1)Object.prototype.hasOwnProperty.call(r,s[p])&&(m+="&".concat(s[p],"=").concat(r[s[p]]))}c.onerror=function(){e.trace("An error occurred while transferring the file.")};try{c.send("action=pgc_sgb_action_wizard&nonce=".concat(l,"&props=").concat(a).concat(m))}catch(t){e.trace(t)}}},{key:"sanitize",value:function(t){var l=(t=t||"").replace(/<!--[\s\S]*?(-->|$)/g,"").replace(/<(script|style)[^>]*>[\s\S]*?(<\/\1>|$)/gi,"").replace(/<\/?[a-z][\s\S]*?(>|$)/gi,"");return l!==t?e.stripTags(l):l}},{key:"stripTags",value:function(t){var l=e.sanitize(t),n=document.createElement("textarea");try{n.textContent=l,l=e.sanitize(n.value)}catch(t){e.trace(t)}return l}},{key:"escapeHTML",value:function(e){return e.toString().replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#39;").replace(/"/g,"&#34;")}},{key:"unescapeHTML",value:function(e){var t=document.createElement("textarea");return t.innerHTML=e,t.textContent}},{key:"validURL",value:function(e){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%@_.~+&:]*)*(\\?[;&a-z\\d%@_.,~+&:=-]*)?(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)}},{key:"requestGetFileBird",value:function(t,l,a,r,o,i){var c=new URL(t),m=new(n());m.open("GET",c,!0),m.setRequestHeader("Content-Type","application/json; charset=UTF-8"),m.setRequestHeader("X-Wp-Nonce",l),m.onreadystatechange=function(){if(4===m.readyState){var e={};200!==m.status?e.error=m.statusText:e.data=m.responseText,o&&(e.params=o),i&&"function"==typeof i&&i(e)}},m.onerror=function(){e.trace("An error occurred while transferring the file.")};try{m.send("action=".concat(a,"&props=").concat(r))}catch(t){e.trace(t)}}},{key:"request",value:function(t,l,a,r,o,i){var c=new URL(t),m=new(n());m.open("POST",c,!0),m.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),m.onreadystatechange=function(){if(4===m.readyState){var e={};200!==m.status?e.error=m.statusText:e.data=m.responseText,o&&(e.params=o),i&&"function"==typeof i&&i(e)}},m.onerror=function(){e.trace("An error occurred while transferring the file.")};try{m.send("action=".concat(a,"&nonce=").concat(l,"&props=").concat(r))}catch(t){e.trace(t)}}},{key:"getMediaModal",value:function(e,t){if(window.wp&&window.wp.media){var l=window.wp,n={title:"Select Files",multiple:"add",type:void 0,exclusionList:[]};t&&(n=Object.assign(n,t));var a=l.media.controller.Library.prototype.defaults,r={order:"DESC",orderby:"id",post__not_in:n.exclusionList};n.type&&(r.type=n.type);var o=l.media.controller.Library.extend({defaults:Object.assign(a,{query:!0,id:"library",title:n.title,multiple:n.multiple,priority:20,library:new l.media.query(r)})});return l.media.frames[e]?n.exclusionList&&l.media.frames[e].once("open",(function(){l.media.frames[e].setExclusion(n.exclusionList)})):(l.media.frames[e]=l.media({state:"library",states:[new o]}),l.media.frames[e].updateCollection=function(){var e=this.content.get();if(e&&e.collection){var t=e.collection;t.toArray().forEach((function(e){return e.trigger("destroy",e)})),t.mirroring._hasMore=!0,t.more()}},l.media.frames[e].setExclusion=function(t){l.media.frames[e].content&&l.media.frames[e].content.get().collection&&l.media.frames[e].content.get().collection.props.set({post__not_in:t})},l.media.frames[e].selectedItems=function(){return l.media.frames[e].state()?l.media.frames[e].state().get("selection").models.map((function(e){return e.attributes})):[]},l.media.frames[e].on("open",(function(){var t,n=this.state(),a=n.get("library"),r=n.get("selection");function o(){r&&r.models&&r.some((function(e){return!0===e.get("uploading")}))?(clearTimeout(t),t=setTimeout(o,100)):a.add(r.models)}l.media.frames[e].updateCollection(),l.media.frames[e].on("library:selection:add",(function(){o()}))}),l.media.frames[e])),l.media.frames[e].off("select"),l.media.frames[e]}}},{key:"getAttachmentDetailsModal",value:function(e,t){var l=window.wp;if(l&&l.media)return l.media.frames.pgc_simply_detail?l.media.frames.pgc_simply_detail.content.get("collection").controller.library.reset(e.models):(l.media.frames.pgc_simply_detail=l.media({frame:"edit-attachments",controller:{gridRouter:new l.media.view.MediaFrame.Manage.Router},library:e,model:new l.media.model.Attachment}),l.media.frames.pgc_simply_detail.resetRoute=function(){}),l.media.frames.pgc_simply_detail.state().frame.trigger("refresh",e.findWhere({id:parseInt(t)})),l.media.frames.pgc_simply_detail}},{key:"getVimeoData",value:function(t,l,a,r,o){var i=new URL("https://api.vimeo.com/".concat(t,"/").concat(l,"/videos"));for(var c in"projects"===t&&""!==r?i=new URL("https://api.vimeo.com/users/".concat(l,"/projects/").concat(r,"/videos")):"categories"===t&&delete a.sort,a)Object.prototype.hasOwnProperty.call(a,c)&&i.searchParams.append(c,a[c]);var m=new(n());m.open("GET",i,!0),m.setRequestHeader("Content-Type","application/vnd.vimeo.user+json;version=3.0,application/vnd.vimeo.video+json;version=3.4"),m.onreadystatechange=function(){if(4===m.readyState){var e={};200!==m.status?(e.error=m.statusText,o({error:m.status})):e.data=m.responseText,a&&(e.params=a),o&&"function"==typeof o&&o(e)}},m.onerror=function(t){e.trace("transfer Failed"),e.trace(t),o({error:"Transfer Failed"})};try{m.send()}catch(t){e.trace(t)}}},{key:"getYouTubeData",value:function(t,l,a){var r=new URL("https://www.googleapis.com/youtube/v3/".concat(t));for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&r.searchParams.append(o,l[o]);var i=new(n());i.open("GET",r,!0),i.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),i.onreadystatechange=function(){if(4===i.readyState){var e={};200!==i.status?(e.error=i.statusText,a({error:i.status})):e.data=i.responseText,l&&(e.params=l),a&&"function"==typeof a&&a(e)}},i.onerror=function(t){e.trace("transfer Failed"),e.trace(t)};try{i.send()}catch(t){e.trace(t)}}},{key:"fetchAttachmentsMedia",value:function(e,t){var l=window.wp;if(l||l.media){var n=[];e&&(n=e.map((function(e){return l.media.attachment(e)}))),function e(l){l.more().then((function(){l.hasMore()?e(l):t(n)}))}(l.media.query({post__in:e,orderby:"post__in"}))}else this.trace("WP MEDIA Undefined!")}},{key:"Item",value:function(e){for(var t={model:["id","title","url","link","alt","description","caption","mime","type","image","thumb","width","height","fileLength","sizes","imageMeta","meta"]},l=0;l<t.model.length;l+=1){var n=t.model[l];Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}if(t.sizes){var a={};t.sizes.thumbnail&&(a.thumbnail=t.sizes.thumbnail),t.sizes.medium&&(a.medium=t.sizes.medium),t.sizes.large&&(a.large=t.sizes.large),t.sizes.full&&(a.full=t.sizes.full),t.sizes=a}if(delete t.model,!(Object.keys(t).length<=1))return t}}],(l=null)&&r(t.prototype,l),o&&r(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,l,o}();function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function m(e,t){for(var l=0;l<t.length;l++){var n=t[l];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var n=l.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}function p(e,t,l){return t=d(t),function(e,t){if(t&&("object"==c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,l||[],d(e).constructor):t.apply(e,l))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}var w=wp.element,g=w.Component,f=w.Fragment,h=wp.components.Button,b=(i.trace,"pgc-sgb-welcome-page-"),v=window.PGC_SGB_WELCOME_PAGE;const E=function(t){function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),p(this,l,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(l,t),n=l,(a=[{key:"render",value:function(){var __=wp.i18n.__;if(!v)return wp.element.createElement(f,null,wp.element.createElement("div",{className:"".concat(b,"header")},wp.element.createElement("div",{className:"".concat(b,"logo-wrap ").concat(b,"group")},e,wp.element.createElement("div",{className:"".concat(b,"title")},"".concat(__("Welcome aboard. Our team welcomes You!","simply-gallery-block"))))),wp.element.createElement("div",{className:"".concat(b,"content")},wp.element.createElement("h2",{style:{color:"red"}},__("Oops, something went wrong.","simply-gallery-block"))),wp.element.createElement("div",{className:"".concat(b,"footer")},wp.element.createElement(h,{isSecondary:!0,href:"https://wordpress.org/support/plugin/simply-gallery-block/"},__("Ask a question","simply-gallery-block")," ")));var t="true"===v.isPremium,l="true"===v.isPro,n=v.assets,a=v.adminurl,r=v.postType,o=new URL("".concat(a,"edit.php"));return o.searchParams.set("post_type",r),o.searchParams.set("page","simply-gallery-block-pricing"),wp.element.createElement(f,null,wp.element.createElement("div",{className:"".concat(b,"header")},wp.element.createElement("div",{className:"".concat(b,"logo-wrap ").concat(b,"group")},e,wp.element.createElement("div",{className:"".concat(b,"title")},"".concat(__("Welcome aboard. Our team welcomes you!","simply-gallery-block"))),wp.element.createElement("abbr",{title:"".concat(__("Version:","simply-gallery-block")," ").concat(v.version),className:"".concat(b,"version")},v.version),!t&&wp.element.createElement("div",{className:"".concat(b,"premium-title")},__("The PREMIUM version is now available.","simply-gallery-block"),wp.element.createElement("a",{href:o},__("Learn more about Plus / Pro Version","simply-gallery-block"))))),wp.element.createElement("div",{className:"".concat(b,"content")},!t&&wp.element.createElement(f,null,wp.element.createElement("div",{className:"".concat(b,"disclaimer")},wp.element.createElement("h3",null,"🙂"," ",__("Disclaimer","simply-gallery-block")),wp.element.createElement("div",null,__("Attention! Our blocks and a couple of decent plugins can make you quit searching and using themes with a lot of unclaimed code and third-party website builders (which were outdated yesterday). And start using great solutions from the WordPress team.","simply-gallery-block"))),wp.element.createElement("h2",null,__("Main Features & Solutions","simply-gallery-block")),wp.element.createElement("ul",{className:"".concat(b,"features")},wp.element.createElement("li",null,wp.element.createElement("strong",null,__("Visual Gallery Builder","simply-gallery-block")),wp.element.createElement("p",null,__("Build your gallery with no coding knowledge. Thanks to native WordPress Block Editor you are able to create and customize galleries visually.","simply-gallery-block")),wp.element.createElement("img",{src:"".concat(n,"blocks.png"),alt:"simply"})),wp.element.createElement("li",null,wp.element.createElement("strong",null,__("Video, Photo, Audio. Mixed media content","simply-gallery-block")),wp.element.createElement("p",null,__('Your gallery can now contain any of three types of media content. Just press the button - "Add Media".',"simply-gallery-block")),wp.element.createElement("img",{src:"".concat(n,"selectMedia.png"),alt:"add media"})),wp.element.createElement("li",null,wp.element.createElement("strong",null,__("Don't limit your imagination. Be creative!","simply-gallery-block")),wp.element.createElement("p",null,__("Change the gallery layout in a couple of clicks. Our team has taken care of your comfort and ease of use. Transform! ","simply-gallery-block")),wp.element.createElement("img",{src:"".concat(n,"transform.png"),alt:"transform gallery"})),wp.element.createElement("li",null,wp.element.createElement("strong",null,__("Managing gallery content is now very easy","simply-gallery-block")),wp.element.createElement("p",null,__("Any sort of sorting is available to you, even manual mode. Editing a description, adding tags, attaching a poster, adding an external link to a gallery element is very easy and convenient. And also just add a link to YouTube or Vimeo video to the image and get a unique video playlist.","simply-gallery-block")),wp.element.createElement("img",{src:"".concat(n,"itemsManager.png"),alt:"items manager"})),wp.element.createElement("li",null,wp.element.createElement("strong",null,__("Easy to Customize","simply-gallery-block")),wp.element.createElement("p",null,__("A large number of settings will allow you to customize your gallery uniquely and integrate into any theme.","simply-gallery-block")),wp.element.createElement("img",{src:"".concat(n,"cPanel.png"),alt:"block control panel"})),wp.element.createElement("li",null,wp.element.createElement("strong",null,__("YouTube and Vimeo","simply-gallery-block")),wp.element.createElement("p",null,__("Just copy the video link and add it to the image. The image will turn into a video poster. The gallery will embed the external video (YouTube and Vimeo) to your page only at the time of viewing. This means that you can add up to 100 videos to the gallery and your page will have a fast loading speed.","simply-gallery-block")),wp.element.createElement("img",{src:"".concat(n,"youtube.png"),alt:"add youtube vimeo"}))),wp.element.createElement("h2",null,__("And of course","simply-gallery-block")),wp.element.createElement("ul",{className:"".concat(b,"features-mini")},wp.element.createElement("li",null,__("Fully Responsive","simply-gallery-block")),wp.element.createElement("li",null,__("Popup Deep Linking","simply-gallery-block")),wp.element.createElement("li",null,__("Keyboard and mouse wheel support","simply-gallery-block")),wp.element.createElement("li",null,__("SVG icon","simply-gallery-block")),wp.element.createElement("li",null,__("Physics Based Animations","simply-gallery-block")),wp.element.createElement("li",null,__("FullScreen support","simply-gallery-block")),wp.element.createElement("li",null,__("Inactive State detection","simply-gallery-block")),wp.element.createElement("li",null,__("Smart Resizing","simply-gallery-block")),wp.element.createElement("li",null,__("Social Sharing (Facebook, Twitter, Pinterest)","simply-gallery-block")),wp.element.createElement("li",null,__("Thumbnails support","simply-gallery-block")),wp.element.createElement("li",null,__("Lightbox – Mouse wheel navigation","simply-gallery-block")),wp.element.createElement("li",null,__("Multi-touch gestures support","simply-gallery-block")),wp.element.createElement("li",null,__("Optimized to be Fast as Native","simply-gallery-block")),wp.element.createElement("li",null,__("Tags Filtrations","simply-gallery-block")),wp.element.createElement("li",null,__("No unnecessary JS libraries","simply-gallery-block")),wp.element.createElement("li",null,__("And much more...","simply-gallery-block")))),t&&wp.element.createElement("div",{className:"".concat(b,"thank")},wp.element.createElement("h3",null,__("Thank You for choosing us!","simply-gallery-block"))),wp.element.createElement("div",null,wp.element.createElement("h2",null,"FAQ"),wp.element.createElement("ul",{className:"".concat(b,"faq-menu")},wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/faq/"},__("Lightbox Image Size","simply-gallery-block"))),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/how-to-create-an-album/"},__("How to create an Album","simply-gallery-block"))),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/tags-filter/"},__("Tags Filter","simply-gallery-block"))),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/faq/"},__("How to attach a YouTube or Vimeo video to a poster (image) in the gallery","simply-gallery-block"))),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/faq/"},__("How To Get YouTube API Key?","simply-gallery-block"))))),wp.element.createElement("h2",{style:{maxWidth:"360px"}},__(t?"PREMIUM Blocks Demo":"Upgrade to the PLUS Plan and get more Blocks!","simply-gallery-block")),wp.element.createElement("div",{className:"f-width"},wp.element.createElement("svg",{className:"".concat(b,"spc-t"),viewBox:"0 0 1000 100",preserveAspectRatio:"none"},wp.element.createElement("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}))),wp.element.createElement("ul",{className:"".concat(b,"features-demo")},wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/showcase-gallery-block/",target:"_blank",rel:"noreferrer"},wp.element.createElement("img",{src:"".concat(n,"showcase.jpg"),alt:"showcase demo"})),wp.element.createElement("div",{className:"".concat(b,"block-label")},"Showcase")),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/diamond/",target:"_blank",rel:"noreferrer"},wp.element.createElement("img",{src:"".concat(n,"diamond.jpg"),alt:"diamond demo"})),wp.element.createElement("div",{className:"".concat(b,"block-label")},"Diamond")),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/accordion/",target:"_blank",rel:"noreferrer"},wp.element.createElement("img",{src:"".concat(n,"accordion.jpg"),alt:"accordion demo"})),wp.element.createElement("div",{className:"".concat(b,"block-label")},"Accordion")),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/horizon-premium-gallery-block/",target:"_blank",rel:"noreferrer"},wp.element.createElement("img",{src:"".concat(n,"horizon.jpg"),alt:"horizon demo"})),wp.element.createElement("div",{className:"".concat(b,"block-label")},"Horizon")),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/split-carousel/",target:"_blank",rel:"noreferrer"},wp.element.createElement("img",{src:"".concat(n,"split.jpg"),alt:"Split Carousel demo"})),wp.element.createElement("div",{className:"".concat(b,"block-label")},"Split Carousel")),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/portfolio2/",target:"_blank",rel:"noreferrer"},wp.element.createElement("img",{src:"".concat(n,"portfolio2.jpg"),alt:"Portfolio2 demo"})),wp.element.createElement("div",{className:"".concat(b,"block-label")},"Portfolio2")),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/simply-list/",target:"_blank",rel:"noreferrer"},wp.element.createElement("img",{src:"".concat(n,"list.jpg"),alt:"list demo"})),wp.element.createElement("div",{className:"".concat(b,"block-label")},"List")),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/tagsbox-covers-gallery/",target:"_blank",rel:"noreferrer"},wp.element.createElement("img",{src:"".concat(n,"tags.jpg"),alt:"tags box demo"})),wp.element.createElement("div",{className:"".concat(b,"block-label")},"Tags Box")),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://simplygallery.co/portfolio-premium-block/",target:"_blank",rel:"noreferrer"},wp.element.createElement("img",{src:"".concat(n,"portfolio.jpg"),alt:"portfolio demo"})),wp.element.createElement("div",{className:"".concat(b,"block-label")},"Portfolio"))),!t&&wp.element.createElement("div",{className:"f-width-simple"},wp.element.createElement("a",{href:o},wp.element.createElement("h3",null,__("Upgrade NOW","simply-gallery-block")))),wp.element.createElement("div",{className:"f-width",style:{transform:"rotateZ( 180deg )",margin:"0px -20px 0"}},wp.element.createElement("svg",{className:"".concat(b,"spc-t"),viewBox:"0 0 1000 100",preserveAspectRatio:"none"},wp.element.createElement("path",{d:"M1000,0l-1000,100l1000,0l0,-100Z"}))),!l&&wp.element.createElement("div",{className:"".concat(b,"pro-plan")},wp.element.createElement("h2",null,__("If You know how to plan. If the gallery is your means of expression or a showcase of your craft. If You are an advanced user then you need a PRO plan.","simply-gallery-block")),wp.element.createElement("h3",null,__("PRO Plan Features","simply-gallery-block")),wp.element.createElement("ul",{className:"".concat(b,"features-mini")},wp.element.createElement("li",null,__("Supports WooCommerce List, Categories and Tags","simply-gallery-block")),wp.element.createElement("li",null,__("Supports FileBird Folders","simply-gallery-block")),wp.element.createElement("li",null,__("Supports MLA Categories and Tags","simply-gallery-block")),wp.element.createElement("li",null,__("Publishing Vimeo Collections","simply-gallery-block")),wp.element.createElement("li",null,__("Publishing YouTube Playlists","simply-gallery-block")),wp.element.createElement("li",null,__("Modern Lightbox","simply-gallery-block")),wp.element.createElement("li",null,__("Email Support","simply-gallery-block")),wp.element.createElement("li",null,__("Priority Support","simply-gallery-block"))),wp.element.createElement("a",{href:o},wp.element.createElement("h3",null,__("Upgrade","simply-gallery-block")," ","Upgrade 🚀")))),wp.element.createElement("div",{className:"".concat(b,"footer")}))}}])&&m(n.prototype,a),r&&m(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,a,r}(g);var k=wp.element,x=k.createRoot,T=k.render;if(document.getElementById("pgc-simply-gallery-plugin-welcome-page")){var P=document.getElementById("pgc-simply-gallery-plugin-welcome-page");x?x(P).render(wp.element.createElement(E,null)):T(wp.element.createElement(E,null),P)}})()})();