b0y-101 Mini Shell


Current Path : E:/www2/kidsbangna/wp-content-old/plugins/responsive-lightbox/js/
File Upload :
Current File : E:/www2/kidsbangna/wp-content-old/plugins/responsive-lightbox/js/gutenberg.min.js

!function(l){var r={};function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return l[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}n.m=l,n.c=r,n.d=function(e,t,l){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var l=Object.create(null);if(n.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(l,r,function(e){return t[e]}.bind(null,r));return l},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,l){var o=l(1),r=void 0===wp.blockEditor?wp.editor:wp.blockEditor,i=r.MediaUpload,s=r.MediaUploadCheck,c=r.BlockControls,n=wp.components,m=n.Button,p=n.Dashicon,u=n.ToolbarButton,a=n.ToolbarGroup,d=n.Toolbar,g=wp.blocks.registerBlockType,b=wp.i18n.__,y=void 0===a?d:a;g("responsive-lightbox/remote-library-image",{title:b("Remote Library Image"),description:b("Remote Library images"),icon:"format-image",category:"responsive-lightbox",keywords:[b("image"),b("photo")],attributes:{imageURL:{type:"string",default:""},imageID:{type:"integer",default:""}},edit:function(e){var t=e.setAttributes,l=e.attributes,r=""!==l.imageURL,n=o("components-placeholder",e.className,r?"rl-image-selected":"");function a(e){t({imageURL:e.sizes.full.url,imageID:e.id})}return wp.element.createElement("div",null,wp.element.createElement(c,null,r&&wp.element.createElement(y,null,wp.element.createElement(s,null,wp.element.createElement(i,{title:b("Remote Library Images"),addToGallery:!0,gallery:!0,multiple:!1,onSelect:a,allowedTypes:["image"],value:l.imageID,render:function(e){var t=e.open;return wp.element.createElement(u,{className:["components-toolbar__control","rl-remote-library-media-button"],label:b("Edit image"),icon:"edit",onClick:t})}})))),wp.element.createElement("div",{className:n},wp.element.createElement("div",{className:"components-placeholder__label"},wp.element.createElement(p,{icon:"format-image"}),b("Responsive Lightbox | Remote Library Image")),wp.element.createElement("div",{className:"components-placeholder__instructions"},b("Select a file from your remote libraries.")),wp.element.createElement("div",{className:"components-placeholder__fieldset"},wp.element.createElement(s,null,wp.element.createElement(i,{title:b("Remote Library Images"),addToGallery:!0,gallery:!0,multiple:!1,onSelect:a,allowedTypes:["image"],value:l.imageID,render:function(e){var t=e.open;return wp.element.createElement(m,{className:["is-button","is-secondary","is-default","is-large","editor-media-placeholder__button","editor-media-placeholder__media-library-button","rl-remote-library-media-button"],onClick:function(){t()}},b("Select image"))}}))),wp.element.createElement("img",{className:"rl-block-image-preview",src:l.imageURL})))},save:function(e){var t=e.attributes;return wp.element.createElement("figure",{className:"rl-image wp-block-image"},wp.element.createElement("img",{src:t.imageURL}))}}),g("responsive-lightbox/gallery",{title:b("Gallery"),description:b("Galleries"),icon:"format-gallery",category:"responsive-lightbox",keywords:[b("images"),b("photos"),b("gallery")],attributes:{imageURL:{type:"string",default:""},galleryID:{type:"integer",default:0}},edit:function(e){var t=e.setAttributes,l=e.attributes,r=0!==l.galleryID,n=o("components-placeholder",e.className,r?"rl-gallery-selected":"");function a(){t({imageURL:ResponsiveLightboxGallery.lastGalleryImage,galleryID:parseInt(ResponsiveLightboxGallery.lastGalleryID)}),this.removeEventListener("click",a)}return wp.element.createElement("div",null,wp.element.createElement(c,null,r&&wp.element.createElement(y,null,wp.element.createElement(u,{className:["components-toolbar__control","rl-gallery-media-button"],label:b("Edit gallery"),icon:"edit",onClick:function(){ResponsiveLightboxGallery.resetFilters=!0,ResponsiveLightboxGallery.open(l.galleryID),ResponsiveLightboxGallery.getModalButton().addEventListener("click",a)}}))),wp.element.createElement("div",{className:n},wp.element.createElement("div",{className:"components-placeholder__label"},wp.element.createElement(p,{icon:"format-image"}),b("Responsive Lightbox | Gallery")),wp.element.createElement("div",{className:"components-placeholder__instructions"},b("Select a gallery.")),wp.element.createElement("div",{className:"components-placeholder__fieldset"},wp.element.createElement(m,{className:["is-button","is-secondary","is-default","is-large","editor-media-placeholder__button","editor-media-placeholder__media-library-button","rl-gallery-media-button"],onClick:function(){ResponsiveLightboxGallery.resetFilters=!0,ResponsiveLightboxGallery.open(),ResponsiveLightboxGallery.getModalButton().addEventListener("click",a)}},b("Select gallery"))),wp.element.createElement("img",{className:"rl-block-image-preview",src:l.imageURL})))},save:function(e){var t=e.attributes;return wp.element.createElement("div",null,'[rl_gallery id="',t.galleryID,'"]')}})},function(e,t,l){var r;
/*!
  Copyright (c) 2018 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
!function(){"use strict";var o={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var r=typeof l;if("string"==r||"number"==r)e.push(l);else if(Array.isArray(l)){if(l.length){var n=i.apply(null,l);n&&e.push(n)}}else if("object"==r)if(l.toString===Object.prototype.toString)for(var a in l)o.call(l,a)&&l[a]&&e.push(a);else e.push(l.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()}]);

Copyright © 2019 by b0y-101