403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.14
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/rhodeworks/wp-content/plugins/nextgen-gallery/static/IGW/Block/build/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/rhodeworks/wp-content/plugins/nextgen-gallery/static/IGW/Block/build/block.min.js
(()=>{"use strict";function e(t){return e="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},e(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(t){var n=function(t){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==e(n)?n:n+""}function a(t,n,r){return n=c(n),function(t,n){if(n&&("object"==e(n)||"function"==typeof n))return n;if(void 0!==n)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}(t)}(t,l()?Reflect.construct(n,r||[],c(t).constructor):n.apply(t,r))}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(l=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function i(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&&s(e,t)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}var d=document.body,f=function(){function e(n){var r;return t(this,e),(r=a(this,e,[n])).closeModal=r.closeModal.bind(r),r.background_layer=document.createElement("div"),r.background_layer.setAttribute("id","add-ngg-gallery-modal-background"),r}return i(e,React.Component),r(e,[{key:"componentDidMount",value:function(){d.style.overflow="hidden",d.appendChild(this.background_layer);var e=this,t=document.getElementById("add-ngg-gallery-block-iframe");t.addEventListener("NGG_Iframe_Ready",(function(){document.getElementById("add-ngg-gallery-modal-spinner").classList.add("add-ngg-gallery-modal-spinner-hidden")})),t.addEventListener("NGG_Insert_Gallery",(function(t){e.props.onInsertGallery(t.detail.shortcode)})),t.addEventListener("NGG_Close_Modal",(function(){e.props.onCloseModal()}))}},{key:"componentWillUnmount",value:function(){d.style.overflow="auto",d.removeChild(this.background_layer)}},{key:"closeModal",value:function(){this.props.onCloseModal()}},{key:"render",value:function(){var e=window.igw.url+"&origin=block";if(e+="&nonce="+window.add_ngg_gallery_block_i18n.nonce,this.props.content){e+="&shortcode=";var t=this.props.content.replace(/\\"/g,'"');t=(t=(t=t.replace(/^\[ngg_images/,"")).replace(/^\[ngg/,"")).replace(/]$/,""),e+=Base64.encode(t)}return ReactDOM.createPortal(React.createElement("div",{id:"add-ngg-gallery-modal"},React.createElement("a",{href:"#",id:"add-ngg-gallery-modal-close",onClick:this.closeModal},React.createElement("span",{className:"dashicons dashicons-no"})),React.createElement("div",{id:"add-ngg-gallery-modal-spinner"},React.createElement("i",{className:"fa fa-spin fa-spinner"})),React.createElement("iframe",{src:e,tabIndex:"-1",name:"add-ngg-gallery-block-iframe",id:"add-ngg-gallery-block-iframe"})),d)}}])}(),u=function(){function e(n){var r;return t(this,e),(r=a(this,e,[n])).state={open:!1},r.openIGW=r.openIGW.bind(r),r.closeIGW=r.closeIGW.bind(r),r.removeGallery=r.removeGallery.bind(r),r}return i(e,React.Component),r(e,[{key:"hasGallery",value:function(){return this.props.content&&this.props.content.length>0}},{key:"removeGallery",value:function(){this.props.onInsertGallery("")}},{key:"closeIGW",value:function(){this.setState({open:!1})}},{key:"openIGW",value:function(){this.setState({open:!0})}},{key:"render",value:function(){return React.createElement("div",{className:"add-ngg-gallery-parent"},this.state.open?React.createElement(f,{content:this.props.content,onCloseModal:this.closeIGW,onInsertGallery:this.props.onInsertGallery}):"",this.hasGallery()?React.createElement("div",{className:"add-ngg-gallery-block"},React.createElement("h3",null,add_ngg_gallery_block_i18n.h3),React.createElement("button",{className:"add-ngg-gallery-button",onClick:this.openIGW},add_ngg_gallery_block_i18n.edit),React.createElement("button",{className:"add-ngg-gallery-button",onClick:this.removeGallery},add_ngg_gallery_block_i18n.delete)):React.createElement("div",{className:"add-ngg-gallery-block"},React.createElement("div",{className:"add-ngg-gallery-button",onClick:this.openIGW},add_ngg_gallery_block_i18n.create)))}}])}(),p={};p.nextgen=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 240 240",width:"240.0pt",height:"240.0pt"},React.createElement("path",{d:"M 0.00 0.00 L 240.00 0.00 L 240.00 240.00 L 0.00 240.00 L 0.00 0.00 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 116.97 3.45 C 155.78 2.17 194.29 21.78 215.90 54.07 C 226.92 70.43 234.08 89.34 236.07 109.00 C 239.08 140.20 228.61 172.42 208.14 196.12 C 191.73 215.41 168.66 228.79 143.97 234.16 C 125.25 238.08 105.37 237.44 87.04 231.86 C 67.00 226.07 48.82 214.65 34.69 199.32 C 14.08 177.26 2.88 147.13 3.50 117.00 C 4.36 95.58 10.72 74.49 22.55 56.55 C 35.03 37.69 52.63 22.36 73.52 13.50 C 87.07 6.87 101.94 3.80 116.97 3.45 Z",fill:"#9fbb1a"}),React.createElement("path",{d:"M 69.17 61.47 C 70.78 61.56 72.37 61.91 73.97 62.05 C 80.30 62.27 86.66 62.04 93.00 62.14 C 96.81 62.23 100.65 61.35 104.18 62.75 C 108.45 64.30 111.62 68.44 111.67 73.03 C 111.78 81.35 111.66 89.68 111.72 98.00 C 111.65 101.03 111.87 104.65 110.30 107.35 C 108.22 110.91 104.17 113.41 100.02 113.40 C 90.68 113.43 81.33 113.42 71.99 113.40 C 65.66 113.41 59.85 108.54 59.66 102.04 C 59.55 92.36 59.70 82.67 59.58 72.99 C 59.41 67.44 63.60 62.15 69.17 61.47 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 138.98 61.27 C 148.33 61.42 157.69 61.22 167.04 61.37 C 173.28 61.31 178.81 66.69 178.70 72.96 C 178.72 82.65 178.75 92.34 178.68 102.02 C 178.48 108.28 173.18 112.96 167.02 113.04 C 157.69 113.25 148.33 113.02 138.99 113.15 C 132.77 113.56 126.76 108.35 126.66 102.04 C 126.55 94.37 126.67 86.68 126.62 79.00 C 126.63 76.33 126.42 73.60 126.72 70.94 C 127.60 65.24 133.25 60.88 138.98 61.27 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 70.97 72.97 C 80.41 72.70 89.87 72.92 99.31 72.86 C 99.39 82.36 99.34 91.87 99.34 101.38 C 89.85 101.36 80.36 101.42 70.87 101.35 C 70.90 91.90 70.70 82.42 70.97 72.97 Z",fill:"#9fbb1a"}),React.createElement("path",{d:"M 138.39 72.91 C 147.80 72.79 157.23 72.85 166.65 72.88 C 166.65 82.41 166.85 91.97 166.55 101.49 C 157.18 101.27 147.79 101.39 138.41 101.42 C 138.30 91.92 138.36 82.41 138.39 72.91 Z",fill:"#9fbb1a"}),React.createElement("path",{d:"M 69.96 128.72 C 77.95 128.35 86.00 128.68 94.00 128.66 C 97.84 128.75 101.40 128.12 104.93 129.93 C 109.12 131.86 111.63 136.43 111.39 141.00 C 111.31 150.34 111.48 159.70 111.31 169.04 C 111.25 175.45 105.33 180.72 99.01 180.44 C 90.00 180.43 81.00 180.42 71.99 180.44 C 67.16 180.64 62.37 177.99 60.28 173.57 C 59.04 171.04 59.32 167.76 59.27 165.00 C 59.38 156.70 59.15 148.39 59.37 140.10 C 59.59 134.25 64.10 129.27 69.96 128.72 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 137.96 128.68 C 146.96 128.36 156.00 128.45 165.00 128.61 C 167.68 128.64 170.26 129.00 172.61 130.36 C 176.44 132.46 178.51 136.68 178.41 140.99 C 178.39 150.33 178.47 159.67 178.37 169.01 C 178.48 174.84 173.95 180.48 167.95 180.68 C 159.31 180.89 150.65 180.67 142.00 180.78 C 139.64 180.74 137.05 180.91 134.76 180.27 C 129.71 178.66 126.48 173.17 126.62 168.01 C 126.61 161.01 126.64 154.00 126.62 147.00 C 126.71 143.40 126.11 139.00 127.75 135.73 C 129.57 131.70 133.51 128.85 137.96 128.68 Z",fill:"#ffffff"}),React.createElement("path",{d:"M 70.98 140.01 C 80.41 139.71 89.87 139.94 99.31 139.89 C 99.40 149.41 99.33 158.93 99.35 168.45 C 89.85 168.43 80.36 168.47 70.86 168.42 C 70.91 158.96 70.69 149.47 70.98 140.01 Z",fill:"#9fbb1a"}),React.createElement("path",{d:"M 138.45 140.41 C 147.84 140.29 157.27 140.44 166.67 140.35 C 166.70 149.82 166.71 159.29 166.67 168.77 C 157.24 168.71 147.81 168.71 138.38 168.77 C 138.39 159.32 138.24 149.85 138.45 140.41 Z",fill:"#9fbb1a"}));const y=p;var g=wp.i18n.__;wp.element.RawHTML,(0,wp.blocks.registerBlockType)("imagely/nextgen-gallery",{title:g("NextGEN Gallery"),description:g("A block for adding NextGEN Galleries."),icon:y.nextgen,category:"common",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1},edit:function(e){var t=e.attributes,n=e.setAttributes;return React.createElement(u,{content:t.content,onInsertGallery:function(e){n({content:e})}})},save:function(e){return e.attributes.content}})})();
//# sourceMappingURL=block.min.js.map

Youez - 2016 - github.com/yon3zu
LinuXploit