!function(e){var t={};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=37)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t,a){e.exports=a(28)()},function(e,t,a){"use strict";a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return c})),a.d(t,"c",(function(){return k}));var r=a(0),n=(a(5),a(22),a(2)),i=a(1),o=function(e){var t=e.name,a=e.url;return Object(r.createElement)(n.Placeholder,{label:t},Object(r.createElement)("p",{className:"components-placeholder__error"},a),Object(r.createElement)("p",{className:"components-placeholder__error"},Object(i.__)("Previews for this are unavailable in the editor, sorry!","amp")))},c=function(e){var t=e.attributes,a=e.setAttributes,o=e.ampLayoutOptions,c=t.ampLayout,l=t.height,u=t.width,s=!l&&("fixed"===c||"fixed-height"===c),d=!u&&"fixed"===c;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(n.SelectControl,{label:Object(i.__)("Layout","amp"),value:c,options:o,onChange:function(e){return a({ampLayout:e})}}),d&&Object(r.createElement)(n.Notice,{status:"error",isDismissible:!1},Object(i.sprintf)( /* translators: %s is the layout name */ Object(i.__)("Width is required for %s layout","amp"),c)),Object(r.createElement)(n.TextControl,{type:"number",label:Object(i.__)("Width (px)","amp"),value:void 0!==u?u:"",onChange:function(e){return a({width:e})}}),s&&Object(r.createElement)(n.Notice,{status:"error",isDismissible:!1},Object(i.sprintf)( /* translators: %s is the layout name */ Object(i.__)("Height is required for %s layout","amp"),c)),Object(r.createElement)(n.TextControl,{type:"number",label:Object(i.__)("Height (px)","amp"),value:l,onChange:function(e){return a({height:e})}}))},l=a(9),u=a.n(l),s=a(19),d=a.n(s),m=a(24),b=a.n(m),p=a(17),f=a.n(p),h=a(20),O=a.n(h),y=a(21),g=a.n(y),j=a(35),v=a.n(j),_=a(14),w=a.n(_),P=a(3),E=a(25),x=a(8);function C(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function S(e){for(var t=1;t=a)&&(!r||e.height>=r)},l=function(){return{width:n.featuredImageMinimumWidth,height:n.featuredImageMinimumHeight}},u=function(e,t,a){if(!e)return a?[Object(i.__)("Selecting a featured image is required.","amp")]:[Object(i.__)("Selecting a featured image is recommended for an optimal user experience.","amp")];var r=[];if(["image/png","image/gif","image/jpeg"].includes(e.mime_type)||r.push( /* translators: 1: .jpg, 2: .png. 3: .gif */ Object(i.sprintf)(Object(i.__)("The featured image must be in %1$s, %2$s, or %3$s format.","amp"),".jpg",".png",".gif")),!c(e.media_details,t)){var n=t.width,o=t.height;n&&o?r.push( /* translators: 1: minimum width, 2: minimum height. */ Object(i.sprintf)(Object(i.__)("The featured image should have a size of at least %1$s by %2$s pixels.","amp"),Math.ceil(n),Math.ceil(o))):t.width?r.push( /* translators: placeholder is minimum width. */ Object(i.sprintf)(Object(i.__)("The featured image should have a width of at least %s pixels.","amp"),Math.ceil(n))):t.height&&r.push( /* translators: placeholder is minimum height. */ Object(i.sprintf)(Object(i.__)("The featured image should have a height of at least %s pixels.","amp"),Math.ceil(o)))}return 0===r.length?null:r},s=function(e){var t=Object(r.template)("

".concat(e,"

"),{evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g});return function(e){return t(e)}},d=function(e,t){if(e){var a=Object(r.get)(this,["options","allowedTypes"],null),n=this.get("select");a&&e.get("type")&&!function(e,t){var a=e.get("type"),r=e.get("mime");return!(!t.includes(a)&&!t.includes(r))&&"video"!==a}(e,a)?(this.secondary.set(o.a,new t({mimeType:e.get("mime")})),n&&n.model&&n.model.set("disabled",!0)):(this.secondary.unset(o.a),n&&n.model&&n.model.set("disabled",!1))}},m=function(e){var t=e.url,a=e.id,n=e.width,i=e.height,o=e.onSelect,c=e.dispatchImage,l={};l.url=t,l.thumbnail_url=t,l.timestamp=Object(r.now)(),a&&(l.attachment_id=a),n&&(l.width=n),i&&(l.height=i),o(l),c(a)}},function(e,t){e.exports=function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}},function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){a=e[Symbol.iterator]()},n:function(){var e=a.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==a.return||a.return()}finally{if(c)throw i}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a]*>(.*?)<\/amp-fit-text>/.exec(e),a=e;return t&&t[1]&&(a=t[1]),a},h=function(e){var t,a=[{value:"",label:Object(n.__)("Default","amp")}],r=s(m);try{for(r.s();!(t=r.n()).done;){var i=t.value;!i.notAvailable.includes(e)&&a.push({value:i.value,label:i.label})}}catch(e){r.e(e)}finally{r.f()}return a},O=function(e){return function(t){var a,n=t.attributes.ampLayout,i=t.name;return"core/gallery"===i?a=E(t):"core/image"===i?a=P(t):l.c.includes(i)||0===i.indexOf("core-embed/")?a=y(t):l.e.includes(i)&&(a=v(t)),n&&"nodisplay"===n?[a]:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(e,t),a)}},y=function(e){return e.isSelected?Object(r.createElement)(o.InspectorControls,null,Object(r.createElement)(i.PanelBody,{title:Object(n.__)("AMP Settings","amp")},Object(r.createElement)(g,e),Object(r.createElement)(j,e))):null},g=function(e){var t=e.name,a=e.attributes.ampLayout,o=e.setAttributes,c=Object(n.__)("AMP Layout","amp");return"core/image"===t&&(c=Object(n.__)("AMP Layout (modifies width/height)","amp")),Object(r.createElement)(i.SelectControl,{label:c,value:a,options:h(t),onChange:function(t){o({ampLayout:t}),"core/image"===e.name&&function(e,t){var a=e.attributes,r=e.setAttributes;switch(t){case"fixed-height":a.height||r({height:l.a}),a.ampLightbox&&r({ampLightbox:!1});break;case"fixed":a.height||r({height:l.a}),a.width||r({width:l.b})}}(e,t)}})},j=function(e){var t=e.attributes.ampNoLoading,a=e.setAttributes,o=Object(n.__)("AMP Noloading","amp");return Object(r.createElement)(i.ToggleControl,{label:o,checked:t,onChange:function(){return a({ampNoLoading:!t})}})},v=function(e){var t=e.isSelected,a=e.attributes,c=e.setAttributes,l=a.ampFitText,s=a.minFont,d=a.maxFont,m=a.height,b=[{name:"small",shortName:Object(n._x)("S","font size","amp"),size:14},{name:"regular",shortName:Object(n._x)("M","font size","amp"),size:16},{name:"large",shortName:Object(n._x)("L","font size","amp"),size:36},{name:"larger",shortName:Object(n._x)("XL","font size","amp"),size:48}];if(!t)return null;var p=Object(n.__)("Automatically fit text to container","amp");return l&&(d=parseInt(d),m=parseInt(m),s=parseInt(s)),Object(r.createElement)(o.InspectorControls,null,Object(r.createElement)(i.PanelBody,{title:Object(n.__)("AMP Settings","amp"),className:l?"is-amp-fit-text":""},Object(r.createElement)(i.ToggleControl,{label:p,checked:l,onChange:function(){return c({ampFitText:!l})}})),l&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(i.TextControl,{label:Object(n.__)("Height","amp"),value:m,min:1,onChange:function(e){c({height:e})}}),d>m&&Object(r.createElement)(i.Notice,{status:"error",isDismissible:!1},Object(n.__)("The height must be greater than the max font size.","amp")),Object(r.createElement)(i.PanelBody,{title:Object(n.__)("Minimum font size","amp")},Object(r.createElement)(i.FontSizePicker,{fallbackFontSize:14,value:s,fontSizes:b,onChange:function(e){e||(e=u.c),parseInt(e)<=d&&c({minFont:e})}})),s>d&&Object(r.createElement)(i.Notice,{status:"error",isDismissible:!1},Object(n.__)("The min font size must less than the max font size.","amp")),Object(r.createElement)(i.PanelBody,{title:Object(n.__)("Maximum font size","amp")},Object(r.createElement)(i.FontSizePicker,{fallbackFontSize:48,value:d,fontSizes:b,onChange:function(e){e||(e=u.b),c({maxFont:e,height:Math.max(e,m)})}}))))},_=function(e){var t=e.attributes,a=t.ampLightbox,o=t.linkTo,c=t.ampLayout,l=e.setAttributes;return Object(r.createElement)(i.ToggleControl,{label:Object(n.__)("Add lightbox effect","amp"),checked:a,onChange:function(e){l({ampLightbox:!a}),e&&("fixed-height"===c&&l({ampLayout:"fixed"}),o&&"none"!==o&&l({linkTo:"none"}))}})},w=function(e){var t=e.attributes.ampCarousel,a=e.setAttributes;return Object(r.createElement)(i.ToggleControl,{label:Object(n.__)("Display as carousel","amp"),checked:t,onChange:function(){return a({ampCarousel:!t})}})},P=function(e){return e.isSelected?Object(r.createElement)(o.InspectorControls,null,Object(r.createElement)(i.PanelBody,{title:Object(n.__)("AMP Settings","amp")},Object(r.createElement)(g,e),Object(r.createElement)(j,e),Object(r.createElement)(_,e))):null},E=function(e){return e.isSelected?Object(r.createElement)(o.InspectorControls,null,Object(r.createElement)(i.PanelBody,{title:Object(n.__)("AMP Settings","amp")},Object(r.createElement)(w,e),Object(r.createElement)(_,e))):null},x=function(){return(0,Object(c.select)("core/editor").getEditedPostAttribute)("amp_enabled")||!1}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,a){var r=a(38);e.exports=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}}),t&&r(e,t)}},function(e,t,a){var r=a(39),n=a(17);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?n(e):t}},function(e,t){!function(){e.exports=this.React}()},function(e,t){e.exports=ampBlockEditor},function(e,t){function a(e,t){for(var a=0;ax

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586