| 40 |
*/window,void 0===(r="function"==typeof(a=function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},n=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],a=n.length;function r(e){var n=getComputedStyle(e);return n||t("Style returned "+n+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),n}var o,i=!1;function l(t){if(function(){if(!i){i=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(t);var a=r(t);o=200==Math.round(e(a.width)),l.isBoxSizeOuter=o,n.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var s=r(t);if("none"==s.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<a;t++)e[n[t]]=0;return e}();var c={};c.width=t.offsetWidth,c.height=t.offsetHeight;for(var u=c.isBorderBox="border-box"==s.boxSizing,p=0;p<a;p++){var d=n[p],m=s[d],f=parseFloat(m);c[d]=isNaN(f)?0:f}var b=c.paddingLeft+c.paddingRight,g=c.paddingTop+c.paddingBottom,h=c.marginLeft+c.marginRight,y=c.marginTop+c.marginBottom,v=c.borderLeftWidth+c.borderRightWidth,w=c.borderTopWidth+c.borderBottomWidth,k=u&&o,_=e(s.width);!1!==_&&(c.width=_+(k?0:b+v));var S=e(s.height);return!1!==S&&(c.height=S+(k?0:g+w)),c.innerWidth=c.width-(b+v),c.innerHeight=c.height-(g+w),c.outerWidth=c.width+h,c.outerHeight=c.height+y,c}}return l})?a.call(t,n,t,e):a)||(e.exports=r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=n(3),i=s(o),l=s(n(4));function s(e){return e&&e.__esModule?e:{default:e}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},u=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],p=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},d=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),m=function(){return d?"_"+Math.random().toString(36).substr(2,12):void 0},f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||m()},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||m()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(p(e,this.sizer),this.placeHolderSizer&&p(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return d&&e?i.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!=e?e:t})),t=a({},this.props.style);t.display||(t.display="inline-block");var n=a({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),r=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(this.props,[]);return function(e){u.forEach((function(t){return delete e[t]}))}(r),r.className=this.props.inputClassName,r.id=this.state.inputId,r.style=n,i.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),i.default.createElement("input",a({},r,{ref:this.inputRef})),i.default.createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?i.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(o.Component);f.propTypes={className:l.default.string,defaultValue:l.default.any,extraWidth:l.default.oneOfType([l.default.number,l.default.string]),id:l.default.string,injectStyles:l.default.bool,inputClassName:l.default.string,inputRef:l.default.func,inputStyle:l.default.object,minWidth:l.default.oneOfType([l.default.number,l.default.string]),onAutosize:l.default.func,onChange:l.default.func,placeholder:l.default.string,placeholderIsMinWidth:l.default.bool,style:l.default.object,value:l.default.any},f.defaultProps={minWidth:1,injectStyles:!0},t.default=f},function(e){e.exports=JSON.parse('{"category":"blockspare","attributes":{"uniqueId":{"type":"string","default":""},"itemNumber":{"type":"number"},"heading":{"type":"string","default":"Accordion Item"},"active":{"type":"boolean","default":false},"defaultText":{"type":"string","default":""},"fillType":{"type":"string","default":"fill"},"openFirstItem":{"type":"boolean","default":true},"name":{"type":"string","default":"fa fa-plus"},"iconPosition":{"type":"string","default":"blockspare-right"},"panelColor":{"type":"string","default":"#3c1a5b"},"panelActiveColor":{"type":"string","default":"#8b249c"},"textColor":{"type":"string","default":"#fff"},"marginBottom":{"type":"number","default":"10"},"activeTextColor":{"type":"string","default":"#fff"},"panelBackGroundColor":{"type":"string","default":"#fff"}}}')},function(e){e.exports=JSON.parse('{"attributes":{"className":{"type":"string"},"align":{"type":"string","default":"center"},"uniqueClass":{"type":"string","default":""},"imgURL":{"type":"string"},"imgID":{"type":"number"},"imgAlt":{"type":"string"},"opacityRatio":{"type":"number","default":100},"backGroundColor":{"type":"string","default":"#fff"},"borderRadius":{"type":"number","default":0},"backgroundFix":{"type":"boolean","default":false},"separatorEnable":{"type":"boolean","default":false},"showFront":{"type":"boolean","default":false},"zindexDivider":{"type":"number","default":20},"verticalFlip":{"type":"boolean","default":true},"horizontalFlip":{"type":"boolean","default":false},"dividerPosition":{"type":"string","default":"has-separator-top"},"topDividerMargin":{"type":"number","default":0},"bottomDividerMargin":{"type":"number","default":0},"enableGap":{"type":"boolean","default":false},"paddingRight":{"type":"number","default":0},"paddingLeft":{"type":"number","default":0}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-list","category":"blockspare","attributes":{"className":{"type":"string"},"align":{"type":"string","default":"center"},"uniqueClass":{"type":"string","default":""},"sectionAlignment":{"type":"string","default":"left"},"listBackGroundColor":{"type":"string"},"name":{"type":"string","default":"blockspare-list-check"},"listData":{"type":"string","source":"html","selector":"ol,ul","multiline":"li","default":"<li>Vestibulum ac diam sit amet</li> <li>Vestibulum ac diam sit amet</li> <li>Vestibulum ac diam sit amet</li>"},"listType":{"type":"string","default":"ul"},"orderListStyle":{"type":"string","default":"blockspare-style1"},"color":{"type":"string","default":"#404040"},"borderRadius":{"type":"number","default":0},"descriptionFontSize":{"type":"number","default":18},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string"},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number"},"descriptionFontSizeTablet":{"type":"number"},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"marginTop":{"type":"number","default":30},"marginBottom":{"type":"number","default":30}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-pricing-inner-title","category":"blockspare"}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-pricing-inner-description","category":"blockspare","attributes":{"features":{"type":"string","source":"html","selector":"ol,ul","multiline":"li"},"sectionAlignment":{"type":"string","default":"center"},"fontSize":{"type":"string"},"customFontSize":{"type":"number"},"textColor":{"type":"string"},"customTextColor":{"type":"string","default":"#6d6d6d"},"backgroundColor":{"type":"string"},"customBackgroundColor":{"type":"string"},"borderStyle":{"type":"string","default":"blockspare-list-border-none"},"borderColor":{"type":"string"},"borderWidth":{"type":"number","default":1},"paddingTop":{"type":"number","default":10},"paddingRight":{"type":"number","default":20},"paddingBottom":{"type":"number","default":10},"paddingLeft":{"type":"number","default":20},"name":{"type":"string","default":"blockspare-list-check"},"listType":{"type":"string","default":"ul"},"orderListStyle":{"type":"string","default":"blockspare-style1"},"color":{"type":"string","default":"#6d6d6d"},"uniqueClass":{"type":"string","default":""},"descriptionBacgroundColor":{"type":"string"},"descriptionFontSize":{"type":"number","default":18},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string"},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number"},"descriptionFontSizeTablet":{"type":"number"},"descriptionLoadGoogleFonts":{"type":"boolean","default":false}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-section-header","category":"blockspare"}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-services-inner","category":"blockspare","attributes":{"borderWidth":{"type":"number","default":1},"borderColor":{"type":"string","default":"#ececec"},"borderRadius":{"type":"number","default":0},"backgroundColor":{"type":"string","default":"#fff"},"alignment":{"type":"string"},"padding":{"type":"number","default":0},"uniqueClass":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-services-inner-title","category":"blockspare"}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-services-inner-description","category":"blockspare","attributes":{"features":{"type":"string","source":"html","selector":"p"},"uniqueClass":{"type":"string","default":""},"fontSize":{"type":"string"},"customFontSize":{"type":"number"},"textColor":{"type":"string","default":"#6d6d6d"},"customTextColor":{"type":"string","default":"#6d6d6d"},"backgroundColor":{"type":"string"},"customBackgroundColor":{"type":"string"},"paddingTop":{"type":"number","default":10},"paddingRight":{"type":"number","default":20},"paddingBottom":{"type":"number","default":10},"paddingLeft":{"type":"number","default":20},"descriptionFontSize":{"type":"number","default":18},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string"},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number"},"descriptionFontSizeTablet":{"type":"number"},"descriptionLoadGoogleFonts":{"type":"boolean","default":false}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-tab","category":"blockspare","attributes":{"uniqueId":{"type":"string","default":""},"id":{"type":"number","default":1},"customClassName":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-testimonial-item","category":"blockspare","attributes":{"className":{"type":"string"},"testimonialDescription":{"type":"string","default":"Donec odit magni, nesciunt pariatur! Nec, purus voluptate ridiculus odit nobis euismod, ac laudantium facere perferendis! "},"testimonialDescriptionTextSize":{"type":"number","default":16},"testimonialDescriptionTextColor":{"type":"string","default":"#6d6d6d"},"blockID":{"type":"string","default":""},"starCount":{"type":"number","default":5},"starSize":{"type":"number","default":20},"starColor":{"type":"string","default":"#fbd012"},"selectedStars":{"type":"number","default":3},"emptyStarColor":{"type":"string","default":"#d5d3d3"},"enableRatings":{"type":"boolean","default":false},"backGroundColor":{"type":"string","default":"#fff"},"borderWidth":{"type":"number","default":1},"headermarginTop":{"type":"number","default":5},"borderColor":{"type":"string","default":"#ececec"},"padding":{"type":"number","default":15},"headermarginBottom":{"type":"number","default":5},"borderRadius":{"type":"number","default":0},"descriptionFontSize":{"type":"number","default":16},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string"},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number"},"descriptionFontSizeTablet":{"type":"number"},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"uniqueClass":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/blockspare-testimonial-item","category":"blockspare","attributes":{"className":{"type":"string"},"testimonialDescription":{"type":"string","default":"Donec odit magni, nesciunt pariatur! Nec, purus voluptate ridiculus odit nobis euismod, ac laudantium facere perferendis! "},"testimonialDescriptionTextSize":{"type":"number","default":18},"testimonialDescriptionTextColor":{"type":"string","default":"#6d6d6d"},"blockID":{"type":"string","default":""},"starCount":{"type":"number","default":5},"starSize":{"type":"number","default":20},"starColor":{"type":"string","default":"#fbd012"},"selectedStars":{"type":"number","default":3},"emptyStarColor":{"type":"string","default":"#d5d3d3"},"enableRatings":{"type":"boolean","default":false},"backGroundColor":{"type":"string","default":"#fff"},"borderWidth":{"type":"number","default":1},"headermarginTop":{"type":"number","default":5},"borderColor":{"type":"string","default":"#ececec"},"padding":{"type":"number","default":0},"headermarginBottom":{"type":"number","default":5},"borderRadius":{"type":"number","default":0},"descriptionFontSize":{"type":"number","default":18},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string"},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number"},"descriptionFontSizeTablet":{"type":"number"},"descriptionLoadGoogleFonts":{"type":"boolean","default":false},"uniqueClass":{"type":"string","default":""}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/user-profile","category":"blockspare","attributes":{"profileContent":{"type":"string","default":"Add your content..."},"profileContentFontSize":{"type":"number","default":18},"sectionAlignment":{"type":"string","default":"left"},"profileBackgroundColor":{"type":"string","default":"#fff"},"profileTextColor":{"type":"string","default":"#6d6d6d"},"facebook":{"type":"url","default":"facebook.com"},"twitter":{"type":"url","default":"twitter.com"},"instagram":{"type":"url"},"linkedin":{"type":"url","default":"linkedin.com"},"youtube":{"type":"url"},"paddingTop":{"type":"number","default":0},"paddingRight":{"type":"number","default":0},"paddingBottom":{"type":"number","default":0},"paddingLeft":{"type":"number","default":0},"marginTop":{"type":"number","default":0},"marginBottom":{"type":"number","default":0},"iconColorOption":{"type":"string","default":"blockspare-default-official-color"},"customfontColorOption":{"type":"string","default":"#fff"},"custombackgroundColorOption":{"type":"string","default":"#404040"},"buttonShapes":{"type":"string","default":"blockspare-social-icon-square"},"buttonSizes":{"type":"string","default":"blockspare-social-icon-small"},"buttonFills":{"type":"string","default":"blockspare-social-icon-solid"},"headerpaddingTop":{"type":"number","default":0},"headerpaddingRight":{"type":"number","default":0},"headerpaddingBottom":{"type":"number","default":0},"headerpaddingLeft":{"type":"number","default":0},"headermarginTop":{"type":"number","default":0},"headermarginBottom":{"type":"number","default":0},"borderRadius":{"type":"number","default":0},"descriptionFontSize":{"type":"number","default":18},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string"},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number"},"descriptionFontSizeTablet":{"type":"number"},"descriptionLoadGoogleFonts":{"type":"boolean","default":false}}}')},function(e,t,n){var a=n(17),r=n(7);e.exports=function(e){if(!r(e))return!1;var t=a(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(74))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var a=n(110);e.exports=function(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var a=n(14),r=function(){try{var e=a(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},function(e,t,n){var a=n(304),r=n(76),o=n(5),i=n(77),l=n(47),s=n(112),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&r(e),p=!n&&!u&&i(e),d=!n&&!u&&!p&&s(e),m=n||u||p||d,f=m?a(e.length,String):[],b=f.length;for(var g in e)!t&&!c.call(e,g)||m&&("length"==g||p&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||l(g,b))||f.push(g);return f}},function(e,t,n){var a=n(307),r=n(79),o=n(80),i=o&&o.isTypedArray,l=i?r(i):a;e.exports=l},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var a=n(111),r=n(311),o=n(21);e.exports=function(e){return o(e)?a(e,!0):r(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,a=null==e?0:e.length,r=0,o=[];++n<a;){var i=e[n];t(i,n,e)&&(o[r++]=i)}return o}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var a=n(82),r=n(83),o=n(81),i=n(116),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)a(t,o(e)),e=r(e);return t}:i;e.exports=l},function(e,t,n){var a=n(119),r=n(81),o=n(20);e.exports=function(e){return a(e,o,r)}},function(e,t,n){var a=n(82),r=n(5);e.exports=function(e,t,n){var o=t(e);return r(e)?o:a(o,n(e))}},function(e,t,n){var a=n(6).Uint8Array;e.exports=a},function(e,t,n){var a=n(343),r=n(122),o=n(123);e.exports=function(e){return o(r(e,void 0,a),e+"")}},function(e,t,n){var a=n(346),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,l=r(o.length-t,0),s=Array(l);++i<l;)s[i]=o[t+i];i=-1;for(var c=Array(t+1);++i<t;)c[i]=o[i];return c[t]=n(s),a(e,this,c)}}},function(e,t,n){var a=n(347),r=n(349)(a);e.exports=r},function(e,t,n){var a=n(363),r=n(11);e.exports=function e(t,n,o,i,l){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:a(t,n,o,i,e,l))}},function(e,t,n){var a=n(364),r=n(367),o=n(368);e.exports=function(e,t,n,i,l,s){var c=1&n,u=e.length,p=t.length;if(u!=p&&!(c&&p>u))return!1;var d=s.get(e);if(d&&s.get(t))return d==t;var m=-1,f=!0,b=2&n?new a:void 0;for(s.set(e,t),s.set(t,e);++m<u;){var g=e[m],h=t[m];if(i)var y=c?i(h,g,m,t,e,s):i(g,h,m,e,t,s);if(void 0!==y){if(y)continue;f=!1;break}if(b){if(!r(t,(function(e,t){if(!o(b,t)&&(g===e||l(g,e,n,i,s)))return b.push(t)}))){f=!1;break}}else if(g!==h&&!l(g,h,n,i,s)){f=!1;break}}return s.delete(e),s.delete(t),f}},function(e,t,n){var a=n(7);e.exports=function(e){return e==e&&!a(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var a=n(375),r=n(376);e.exports=function(e,t){return null!=e&&r(e,t,a)}},function(e,t,n){var a=n(381),r=n(384)(a);e.exports=r},function(e,t){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,a=e.length;n<a&&!1!==t(e[n],n);n++);}}},function(e,t,n){var a=n(51),r=n(408),o=n(22);e.exports=function(e,t,n){for(var i=-1,l=t.length,s={};++i<l;){var c=t[i],u=a(e,c);n(u,c)&&r(s,o(c,e),u)}return s}},function(e,t,n){var a=n(7),r=n(50),o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=l.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):i.test(e)?NaN:+e}},function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},a=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,i){var l=a(t),s=r[e][a(t)];return 2===l&&(s=s[n?0:1]),s.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,r,o,i){var l=n(t),s=a[e][n(t)];return 2===l&&(s=s[r?0:1]),s.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var a,r;return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(a=+e,r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),a%10==1&&a%100!=11?r[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?r[1]:r[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var a=e+" ";switch(n){case"ss":return a+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return a+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return a+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return a+=1===e?"dan":"dana";case"MM":return a+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return a+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),a=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],r=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(e){return e>1&&e<5&&1!=~~(e/10)}function i(e,t,n,a){var r=e+" ";switch(n){case"s":return t||a?"pár sekund":"pár sekundami";case"ss":return t||a?r+(o(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":a?"minutu":"minutou";case"mm":return t||a?r+(o(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?r+(o(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||a?"den":"dnem";case"dd":return t||a?r+(o(e)?"dny":"dní"):r+"dny";case"M":return t||a?"měsíc":"měsícem";case"MM":return t||a?r+(o(e)?"měsíce":"měsíců"):r+"měsíci";case"y":return t||a?"rok":"rokem";case"yy":return t||a?r+(o(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,a=this._calendarEl[e],r=t&&t.hours();return((n=a)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(a=a.apply(t)),a.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:a?r[n][0]:r[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(1))},function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function a(e,a,r,o){var i="";switch(r){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":return o?"sekunnin":"sekuntia";case"m":return o?"minuutin":"minuutti";case"mm":i=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":i=o?"tunnin":"tuntia";break;case"d":return o?"päivän":"päivä";case"dd":i=o?"päivän":"päivää";break;case"M":return o?"kuukauden":"kuukausi";case"MM":i=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":i=o?"vuoden":"vuotta"}return i=function(e,a){return e<10?a?n[e]:t[e]:e}(e,o)+" "+i}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Méitheamh","Iúil","Lúnasa","Meán Fómhair","Deaireadh Fómhair","Samhain","Nollaig"],monthsShort:["Eaná","Feab","Márt","Aibr","Beal","Méit","Iúil","Lúna","Meán","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Satharn"],weekdaysShort:["Dom","Lua","Mái","Céa","Déa","hAo","Sat"],weekdaysMin:["Do","Lu","Má","Ce","Dé","hA","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var r={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?r[n][0]:r[n][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var a=e+" ";switch(n){case"ss":return a+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return a+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return a+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return a+=1===e?"dan":"dana";case"MM":return a+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return a+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,a){var r=e;switch(n){case"s":return a||t?"néhány másodperc":"néhány másodperce";case"ss":return r+(a||t)?" másodperc":" másodperce";case"m":return"egy"+(a||t?" perc":" perce");case"mm":return r+(a||t?" perc":" perce");case"h":return"egy"+(a||t?" óra":" órája");case"hh":return r+(a||t?" óra":" órája");case"d":return"egy"+(a||t?" nap":" napja");case"dd":return r+(a||t?" nap":" napja");case"M":return"egy"+(a||t?" hónap":" hónapja");case"MM":return r+(a||t?" hónap":" hónapja");case"y":return"egy"+(a||t?" év":" éve");case"yy":return r+(a||t?" év":" éve")}return""}function a(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return a.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return a.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,a,r){var o=e+" ";switch(a){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||r?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||r?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||r?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(r?"daga":"dögum"):n?o+"dagur":o+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(r?"mánuði":"mánuðum"):n?o+"mánuður":o+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return t(e)?o+(n||r?"ár":"árum"):o+(n||r?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()<e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},a=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:a,monthsShort:a,weekdays:"یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه".split("_"),weekdaysShort:"یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره|بهیانی/,isPM:function(e){return/ئێواره/.test(e)},meridiem:function(e,t,n){return e<12?"بهیانی":"ئێواره"},calendar:{sameDay:"[ئهمرۆ كاتژمێر] LT",nextDay:"[بهیانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له %s",past:"%s",s:"چهند چركهیهك",ss:"چركه %d",m:"یهك خولهك",mm:"%d خولهك",h:"یهك كاتژمێر",hh:"%d كاتژمێر",d:"یهك ڕۆژ",dd:"%d ڕۆژ",M:"یهك مانگ",MM:"%d مانگ",y:"یهك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,a){return t?r(n)[0]:a?r(n)[1]:r(n)[2]}function a(e){return e%10==0||e>10&&e<20}function r(e){return t[e].split("_")}function o(e,t,o,i){var l=e+" ";return 1===e?l+n(0,t,o[0],i):t?l+(a(e)?r(o)[1]:r(o)[0]):i?l+r(o)[1]:l+(a(e)?r(o)[1]:r(o)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,a){return t?"kelios sekundės":a?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function a(e,a,r){return e+" "+n(t[r],e,a)}function r(e,a,r){return n(t[r],e,a)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:a,m:r,mm:a,h:r,hh:a,d:r,dd:a,M:r,MM:a,y:r,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,a){var r=t.words[a];return 1===a.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n,a){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function a(e,t,n,a){var r="";if(t)switch(n){case"s":r="काही सेकंद";break;case"ss":r="%d सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे"}else switch(n){case"s":r="काही सेकंदां";break;case"ss":r="%d सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां"}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(1))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(1))},function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,n){var r=e+" ";switch(n){case"ss":return r+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(a(e)?"godziny":"godzin");case"MM":return r+(a(e)?"miesiące":"miesięcy");case"yy":return r+(a(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,a){return e?""===a?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(a)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var a=" ";return(e%100>=20||e>=100&&e%100==0)&&(a=" de "),e+a+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var a,r;return"m"===n?t?"минута":"минуту":e+" "+(a=+e,r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),a%10==1&&a%100!=11?r[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?r[1]:r[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(1))},function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function a(e){return e>1&&e<5}function r(e,t,n,r){var o=e+" ";switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"ss":return t||r?o+(a(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?o+(a(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?o+(a(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||r?"deň":"dňom";case"dd":return t||r?o+(a(e)?"dni":"dní"):o+"dňami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?o+(a(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?o+(a(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var r=e+" ";switch(n){case"s":return t||a?"nekaj sekund":"nekaj sekundami";case"ss":return r+=1===e?t?"sekundo":"sekundi":2===e?t||a?"sekundi":"sekundah":e<5?t||a?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return r+=1===e?t?"minuta":"minuto":2===e?t||a?"minuti":"minutama":e<5?t||a?"minute":"minutami":t||a?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return r+=1===e?t?"ura":"uro":2===e?t||a?"uri":"urama":e<5?t||a?"ure":"urami":t||a?"ur":"urami";case"d":return t||a?"en dan":"enim dnem";case"dd":return r+=1===e?t||a?"dan":"dnem":2===e?t||a?"dni":"dnevoma":t||a?"dni":"dnevi";case"M":return t||a?"en mesec":"enim mesecem";case"MM":return r+=1===e?t||a?"mesec":"mesecem":2===e?t||a?"meseca":"mesecema":e<5?t||a?"mesece":"meseci":t||a?"mesecev":"meseci";case"y":return t||a?"eno leto":"enim letom";case"yy":return r+=1===e?t||a?"leto":"letom":2===e?t||a?"leti":"letoma":e<5?t||a?"leta":"leti":t||a?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,a){var r=t.words[a];return 1===a.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,a){var r=t.words[a];return 1===a.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t||2===t?"a":"e")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,a,r){var o=function(e){var n=Math.floor(e%1e3/100),a=Math.floor(e%100/10),r=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),a>0&&(o+=(""!==o?" ":"")+t[a]+"maH"),r>0&&(o+=(""!==o?" ":"")+t[r]),""===o?"pagh":o}(e);switch(a){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var a=e%10;return e+(t[a]||t[e%100-a]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return a||t?r[n][0]:r[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var a=100*e+t;return a<600?"يېرىم كېچە":a<900?"سەھەر":a<1130?"چۈشتىن بۇرۇن":a<1230?"چۈش":a<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var a,r;return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(a=+e,r={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),a%10==1&&a%100!=11?r[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?r[1]:r[2])}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var a=100*e+t;return a<600?"凌晨":a<900?"早上":a<1130?"上午":a<1230?"中午":a<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var a=100*e+t;return a<600?"凌晨":a<900?"早上":a<1130?"上午":a<1230?"中午":a<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(1))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var a=100*e+t;return a<600?"凌晨":a<900?"早上":a<1130?"上午":a<1230?"中午":a<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(1))},function(e,t,n){"use strict";(e.exports={}).forEach=function(e,t){for(var n=0;n<e.length;n++){var a=t(e[n]);if(a)return a}}},function(e,t,n){"use strict";var a=e.exports={};a.isIE=function(e){return(-1!==(t=navigator.userAgent.toLowerCase()).indexOf("msie")||-1!==t.indexOf("trident")||-1!==t.indexOf(" edge/"))&&(!e||e===function(){var e=3,t=document.createElement("div"),n=t.getElementsByTagName("i");do{t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e"}while(n[0]);return e>4?e:void 0}());var t},a.isLegacyOpera=function(){return!!window.opera}},function(e,t,n){var a=n(350)((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}));e.exports=a},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t,n){var a;!function(){function r(e,t,n){return e.call.apply(e.bind,arguments)}function o(e,t,n){if(!e)throw Error();if(2<arguments.length){var a=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,a),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function i(e,t,n){return(i=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?r:o).apply(null,arguments)}var l=Date.now||function(){return+new Date};function s(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var c=!!window.FontFace;function u(e,t,n,a){if(t=e.c.createElement(t),n)for(var r in n)n.hasOwnProperty(r)&&("style"==r?t.style.cssText=n[r]:t.setAttribute(r,n[r]));return a&&t.appendChild(e.c.createTextNode(a)),t}function p(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function d(e){e.parentNode&&e.parentNode.removeChild(e)}function m(e,t,n){t=t||[],n=n||[];for(var a=e.className.split(/\s+/),r=0;r<t.length;r+=1){for(var o=!1,i=0;i<a.length;i+=1)if(t[r]===a[i]){o=!0;break}o||a.push(t[r])}for(t=[],r=0;r<a.length;r+=1){for(o=!1,i=0;i<n.length;i+=1)if(a[r]===n[i]){o=!0;break}o||t.push(a[r])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function f(e,t){for(var n=e.className.split(/\s+/),a=0,r=n.length;a<r;a++)if(n[a]==t)return!0;return!1}function b(e,t,n){function a(){l&&r&&o&&(l(i),l=null)}t=u(e,"link",{rel:"stylesheet",href:t,media:"all"});var r=!1,o=!0,i=null,l=n||null;c?(t.onload=function(){r=!0,a()},t.onerror=function(){r=!0,i=Error("Stylesheet failed to load"),a()}):setTimeout((function(){r=!0,a()}),0),p(e,"head",t)}function g(e,t,n,a){var r=e.c.getElementsByTagName("head")[0];if(r){var o=u(e,"script",{src:t}),i=!1;return o.onload=o.onreadystatechange=function(){i||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(i=!0,n&&n(null),o.onload=o.onreadystatechange=null,"HEAD"==o.parentNode.tagName&&r.removeChild(o))},r.appendChild(o),setTimeout((function(){i||(i=!0,n&&n(Error("Script load timeout")))}),a||5e3),o}return null}function h(){this.a=0,this.c=null}function y(e){return e.a++,function(){e.a--,w(e)}}function v(e,t){e.c=t,w(e)}function w(e){0==e.a&&e.c&&(e.c(),e.c=null)}function k(e){this.a=e||"-"}function _(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function S(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var a=e[n].replace(/['"]/g,"");-1!=a.indexOf(" ")||/^\d/.test(a)?t.push("'"+a+"'"):t.push(a)}return t.join(",")}function E(e){return e.a+e.f}function T(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function x(e){var t=4,n="n",a=null;return e&&((a=e.match(/(normal|oblique|italic)/i))&&a[1]&&(n=a[1].substr(0,1).toLowerCase()),(a=e.match(/([1-9]00|normal|bold)/i))&&a[1]&&(/bold/i.test(a[1])?t=7:/[1-9]00/.test(a[1])&&(t=parseInt(a[1].substr(0,1),10)))),n+t}function M(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new k("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function C(e){if(e.g){var t=f(e.f,e.a.c("wf","active")),n=[],a=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),m(e.f,n,a)}L(e,"inactive")}function L(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,E(n)):e.h[t]())}function O(){this.c={}}function D(e,t){this.c=e,this.f=t,this.a=u(this.c,"span",{"aria-hidden":"true"},this.f)}function j(e){p(e.c,"body",e.a)}function F(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+S(e.c)+";font-style:"+T(e)+";font-weight:"+e.f+"00;"}function P(e,t,n,a,r,o){this.g=e,this.j=t,this.a=a,this.c=n,this.f=r||3e3,this.h=o||void 0}function Y(e,t,n,a,r,o,i){this.v=e,this.B=t,this.c=n,this.a=a,this.s=i||"BESbswy",this.f={},this.w=r||3e3,this.u=o||null,this.m=this.j=this.h=this.g=null,this.g=new D(this.c,this.s),this.h=new D(this.c,this.s),this.j=new D(this.c,this.s),this.m=new D(this.c,this.s),e=F(e=new _(this.a.c+",serif",E(this.a))),this.g.a.style.cssText=e,e=F(e=new _(this.a.c+",sans-serif",E(this.a))),this.h.a.style.cssText=e,e=F(e=new _("serif",E(this.a))),this.j.a.style.cssText=e,e=F(e=new _("sans-serif",E(this.a))),this.m.a.style.cssText=e,j(this.g),j(this.h),j(this.j),j(this.m)}k.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},P.prototype.start=function(){var e=this.c.o.document,t=this,n=l(),a=new Promise((function(a,r){!function o(){l()-n>=t.f?r():e.fonts.load(function(e){return T(e)+" "+e.f+"00 300px "+S(e.c)}(t.a),t.h).then((function(e){1<=e.length?a():setTimeout(o,25)}),(function(){r()}))}()})),r=null,o=new Promise((function(e,n){r=setTimeout(n,t.f)}));Promise.race([o,a]).then((function(){r&&(clearTimeout(r),r=null),t.g(t.a)}),(function(){t.j(t.a)}))};var N={D:"serif",C:"sans-serif"},z=null;function B(){if(null===z){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);z=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return z}function A(e,t,n){for(var a in N)if(N.hasOwnProperty(a)&&t===e.f[N[a]]&&n===e.f[N[a]])return!0;return!1}function H(e){var t,n=e.g.a.offsetWidth,a=e.h.a.offsetWidth;(t=n===e.f.serif&&a===e.f["sans-serif"])||(t=B()&&A(e,n,a)),t?l()-e.A>=e.w?B()&&A(e,n,a)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?I(e,e.v):I(e,e.B):function(e){setTimeout(i((function(){H(this)}),e),50)}(e):I(e,e.v)}function I(e,t){setTimeout(i((function(){d(this.g.a),d(this.h.a),d(this.j.a),d(this.m.a),t(this.a)}),e),0)}function R(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}Y.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=l(),H(this)};var W=null;function U(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&m(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),L(e,"active")):C(e.a))}function G(e){this.j=e,this.a=new O,this.h=0,this.f=this.g=!0}function V(e,t,n,a,r){var o=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=r||null,l=a||{};if(0===n.length&&o)C(t.a);else{t.f+=n.length,o&&(t.j=o);var s,c=[];for(s=0;s<n.length;s++){var u=n[s],p=l[u.c],d=t.a,f=u;if(d.g&&m(d.f,[d.a.c("wf",f.c,E(f).toString(),"loading")]),L(d,"fontloading",f),d=null,null===W)if(window.FontFace){f=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var b=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);W=f?42<parseInt(f[1],10):!b}else W=!1;d=W?new P(i(t.g,t),i(t.h,t),t.c,u,t.s,p):new Y(i(t.g,t),i(t.h,t),t.c,u,t.s,e,p),c.push(d)}for(s=0;s<c.length;s++)c[s].start()}}),0)}function q(e,t){this.c=e,this.a=t}function $(e,t){this.c=e,this.a=t}function J(e,t){this.c=e||X,this.a=[],this.f=[],this.g=t||""}R.prototype.g=function(e){var t=this.a;t.g&&m(t.f,[t.a.c("wf",e.c,E(e).toString(),"active")],[t.a.c("wf",e.c,E(e).toString(),"loading"),t.a.c("wf",e.c,E(e).toString(),"inactive")]),L(t,"fontactive",e),this.m=!0,U(this)},R.prototype.h=function(e){var t=this.a;if(t.g){var n=f(t.f,t.a.c("wf",e.c,E(e).toString(),"active")),a=[],r=[t.a.c("wf",e.c,E(e).toString(),"loading")];n||a.push(t.a.c("wf",e.c,E(e).toString(),"inactive")),m(t.f,a,r)}L(t,"fontinactive",e),U(this)},G.prototype.load=function(e){this.c=new s(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var a=[],r=n.timeout;!function(e){e.g&&m(e.f,[e.a.c("wf","loading")]),L(e,"loading")}(t);a=function(e,t,n){var a,r=[];for(a in t)if(t.hasOwnProperty(a)){var o=e.c[a];o&&r.push(o(t[a],n))}return r}(e.a,n,e.c);var o=new R(e.c,t,r);for(e.h=a.length,t=0,n=a.length;t<n;t++)a[t].load((function(t,n,a){V(e,o,t,n,a)}))}(this,new M(this.c,e),e)},q.prototype.load=function(e){var t=this,n=t.a.projectId,a=t.a.version;if(n){var r=t.c.o;g(this.c,(t.a.api||"https://fast.fonts.net/jsapi")+"/"+n+".js"+(a?"?v="+a:""),(function(a){a?e([]):(r["__MonotypeConfiguration__"+n]=function(){return t.a},function t(){if(r["__mti_fntLst"+n]){var a,o=r["__mti_fntLst"+n](),i=[];if(o)for(var l=0;l<o.length;l++){var s=o[l].fontfamily;null!=o[l].fontStyle&&null!=o[l].fontWeight?(a=o[l].fontStyle+o[l].fontWeight,i.push(new _(s,a))):i.push(new _(s))}e(i)}else setTimeout((function(){t()}),50)}())})).id="__MonotypeAPIScript__"+n}else e([])},$.prototype.load=function(e){var t,n,a=this.a.urls||[],r=this.a.families||[],o=this.a.testStrings||{},i=new h;for(t=0,n=a.length;t<n;t++)b(this.c,a[t],y(i));var l=[];for(t=0,n=r.length;t<n;t++)if((a=r[t].split(":"))[1])for(var s=a[1].split(","),c=0;c<s.length;c+=1)l.push(new _(a[0],s[c]));else l.push(new _(a[0]));v(i,(function(){e(l,o)}))};var X="https://fonts.googleapis.com/css";function K(e){this.f=e,this.a=[],this.c={}}var Q={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},Z={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ne(e,t){this.c=e,this.a=t}var ae={Arimo:!0,Cousine:!0,Tinos:!0};function re(e,t){this.c=e,this.a=t}function oe(e,t){this.c=e,this.f=t,this.a=[]}ne.prototype.load=function(e){var t=new h,n=this.c,a=new J(this.a.api,this.a.text),r=this.a.families;!function(e,t){for(var n=t.length,a=0;a<n;a++){var r=t[a].split(":");3==r.length&&e.f.push(r.pop());var o="";2==r.length&&""!=r[1]&&(o=":"),e.a.push(r.join(o))}}(a,r);var o=new K(r);!function(e){for(var t=e.f.length,n=0;n<t;n++){var a=e.f[n].split(":"),r=a[0].replace(/\+/g," "),o=["n4"];if(2<=a.length){var i;if(i=[],l=a[1])for(var l,s=(l=l.split(",")).length,c=0;c<s;c++){var u;if((u=l[c]).match(/^[\w-]+$/))if(null==(d=te.exec(u.toLowerCase())))u="";else{if(u=null==(u=d[2])||""==u?"n":ee[u],null==(d=d[1])||""==d)d="4";else var p=Z[d],d=p||(isNaN(d)?"4":d.substr(0,1));u=[u,d].join("")}else u="";u&&i.push(u)}0<i.length&&(o=i),3==a.length&&(i=[],0<(a=(a=a[2])?a.split(","):i).length&&(a=Q[a[0]])&&(e.c[r]=a))}for(e.c[r]||(a=Q[r])&&(e.c[r]=a),a=0;a<o.length;a+=1)e.a.push(new _(r,o[a]))}}(o),b(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],a=0;a<t;a++)n.push(e.a[a].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(a),y(t)),v(t,(function(){e(o.a,o.c,ae)}))},re.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?g(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var a=[],r=0;r<t.length;r+=2)for(var o=t[r],i=t[r+1],l=0;l<i.length;l++)a.push(new _(o,i[l]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}e(a)}}),2e3):e([])},oe.prototype.load=function(e){var t=this.f.id,n=this.c.o,a=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var r=0,o=n.fonts.length;r<o;++r){var i=n.fonts[r];a.a.push(new _(i.name,x("font-weight:"+i.weight+";font-style:"+i.style)))}e(a.a)},g(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var ie=new G(window);ie.a.c.custom=function(e,t){return new $(t,e)},ie.a.c.fontdeck=function(e,t){return new oe(t,e)},ie.a.c.monotype=function(e,t){return new q(t,e)},ie.a.c.typekit=function(e,t){return new re(t,e)},ie.a.c.google=function(e,t){return new ne(t,e)};var le={load:i(ie.load,ie)};void 0===(a=function(){return le}.call(t,n,t,e))||(e.exports=a)}()},function(e){e.exports=JSON.parse('{"attributes":{"className":{"type":"string"},"align":{"type":"string","default":"center"},"sectionAlignment":{"type":"string","default":"center"},"showImage":{"type":"boolean","default":true},"imgURL":{"type":"string"},"imgID":{"type":"number"},"imgAlt":{"type":"string"},"opacityRatio":{"type":"number","default":75},"ctaBackGroundColor":{"type":"string","default":"#0e0e0e"},"borderRadius":{"type":"number","default":0},"headerTagOption":{"type":"string","default":"h2"},"backgroundFix":{"type":"boolean","default":false},"headertitleColor":{"type":"string","default":"#fff"},"headersubtitleColor":{"type":"string","default":"#fff"},"headermarginTop":{"type":"number","default":5},"headermarginBottom":{"type":"number","default":5}}}')},function(e){e.exports=JSON.parse('{"name":"blockspare/content-box","category":"blockspare","attributes":{"className":{"type":"string"},"align":{"type":"string","default":"center"},"sectionAlignment":{"type":"string","default":"left"},"sectionDescription":{"type":"string","default":"Add your description here..."},"showContentImg":{"type":"boolean","default":true},"imgURL":{"type":"string","default":false},"imgID":{"type":"number"},"imgAlt":{"type":"string","source":"attribute","attribute":"alt","selector":"img"},"showButton":{"type":"boolean","default":false},"enableBackgroundColor":{"type":"boolean","default":true},"backGroundColor":{"type":"string","default":"#fff"},"borderRadius":{"type":"number","default":0},"titleColor":{"type":"string","default":"#000"},"descriptionColor":{"type":"string","default":"#6d6d6d"},"layoutOption":{"type":"boolean","default":false},"imageShape":{"type":"string","default":""},"design":{"type":"string","default":"style-1"},"headerpaddingTop":{"type":"number","default":0},"headerpaddingRight":{"type":"number","default":0},"headerpaddingBottom":{"type":"number","default":0},"headerpaddingLeft":{"type":"number","default":0},"headermarginTop":{"type":"number","default":0},"headermarginBottom":{"type":"number","default":0},"paddingTop":{"type":"number","default":0},"paddingRight":{"type":"number","default":0},"paddingBottom":{"type":"number","default":0},"paddingLeft":{"type":"number","default":0},"descriptionFontSize":{"type":"number","default":18},"descriptionFontFamily":{"type":"string","default":"Default"},"descriptionFontWeight":{"type":"string"},"descriptionFontSubset":{"type":"string"},"descriptionFontSizeType":{"type":"string","default":"px"},"descriptionFontSizeMobile":{"type":"number"},"descriptionFontSizeTablet":{"type":"number"},"descriptionLoadGoogleFonts":{"type":"boolean","default":false}}}')},function(e,t,n){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(4)),o=n(3),i=a(o),l=a(n(389)),s=a(n(390));function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?b(e):t}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],a=!0,r=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(a=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{a||null==l.return||l.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var y=function(e,t){var n=t.decimal,a=t.decimals,r=t.duration,o=t.easingFn,i=t.end,l=t.formattingFn,c=t.prefix,u=t.separator,p=t.start,d=t.suffix,m=t.useEasing;return new s(e,p,i,a,r,{decimal:n,easingFn:o,formattingFn:l,separator:u,prefix:c,suffix:d,useEasing:m,useGrouping:!!u})},v=function(e){function t(){var e,n;c(this,t);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return p(b(n=g(this,(e=m(t)).call.apply(e,[this].concat(r)))),"createInstance",(function(){return"function"==typeof n.props.children&&l(n.containerRef.current&&(n.containerRef.current instanceof HTMLElement||n.containerRef.current instanceof SVGTextElement||n.containerRef.current instanceof SVGTSpanElement),'Couldn\'t find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an HTMLElement, eg. <span ref={containerRef} />.'),y(n.containerRef.current,n.props)})),p(b(n),"pauseResume",(function(){var e=b(n),t=e.reset,a=e.restart,r=e.update,o=n.props.onPauseResume;n.instance.pauseResume(),o({reset:t,start:a,update:r})})),p(b(n),"reset",(function(){var e=b(n),t=e.pauseResume,a=e.restart,r=e.update,o=n.props.onReset;n.instance.reset(),o({pauseResume:t,start:a,update:r})})),p(b(n),"restart",(function(){n.reset(),n.start()})),p(b(n),"start",(function(){var e=b(n),t=e.pauseResume,a=e.reset,r=e.restart,o=e.update,i=n.props,l=i.delay,s=i.onEnd,c=i.onStart,u=function(){return n.instance.start((function(){return s({pauseResume:t,reset:a,start:r,update:o})}))};l>0?n.timeoutId=setTimeout(u,1e3*l):u(),c({pauseResume:t,reset:a,update:o})})),p(b(n),"update",(function(e){var t=b(n),a=t.pauseResume,r=t.reset,o=t.restart,i=n.props.onUpdate;n.instance.update(e),i({pauseResume:a,reset:r,start:o})})),p(b(n),"containerRef",i.createRef()),n}var n,a,r;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}}),t&&f(e,t)}(t,e),n=t,(a=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,n=e.delay;this.instance=this.createInstance(),"function"==typeof t&&0!==n||this.start()}},{key:"shouldComponentUpdate",value:function(e){var t=this.props,n=t.end,a=t.start,r=t.suffix,o=t.prefix,i=t.redraw,l=t.duration,s=t.separator,c=t.decimals,u=t.decimal;return l!==e.duration||n!==e.end||a!==e.start||r!==e.suffix||o!==e.prefix||s!==e.separator||c!==e.decimals||u!==e.decimal||i}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.end,a=t.start,r=t.suffix,o=t.prefix,i=t.duration,l=t.separator,s=t.decimals,c=t.decimal,u=t.preserveValue;i===e.duration&&a===e.start&&r===e.suffix&&o===e.prefix&&l===e.separator&&s===e.decimals&&c===e.decimal||(this.instance.reset(),this.instance=this.createInstance(),this.start()),n!==e.end&&(u||this.instance.reset(),this.instance.update(n))}},{key:"componentWillUnmount",value:function(){this.timeoutId&&clearTimeout(this.timeoutId),this.instance.reset()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,a=e.style,r=this.containerRef,o=this.pauseResume,l=this.reset,s=this.restart,c=this.update;return"function"==typeof t?t({countUpRef:r,pauseResume:o,reset:l,start:s,update:c}):i.createElement("span",{className:n,ref:r,style:a})}}])&&u(n.prototype,a),r&&u(n,r),t}(o.Component);p(v,"propTypes",{decimal:r.string,decimals:r.number,delay:r.number,easingFn:r.func,end:r.number.isRequired,formattingFn:r.func,onEnd:r.func,onStart:r.func,prefix:r.string,redraw:r.bool,separator:r.string,start:r.number,startOnMount:r.bool,suffix:r.string,style:r.object,useEasing:r.bool,preserveValue:r.bool}),p(v,"defaultProps",{decimal:".",decimals:0,delay:null,duration:null,easingFn:null,formattingFn:null,onEnd:function(){},onPauseResume:function(){},onReset:function(){},onStart:function(){},onUpdate:function(){},prefix:"",redraw:!1,separator:"",start:0,startOnMount:!0,suffix:"",style:void 0,useEasing:!0,preserveValue:!1});var w={innerHTML:null};t.default=v,t.useCountUp=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},v.defaultProps,{},e),n=t.start,a=t.formattingFn,r=h(o.useState("function"==typeof a?a(n):n),2),i=r[0],l=r[1],s=o.useRef(null),c=function(){var e=s.current;if(null!==e)return e;var n=function(){var e=y(w,t),n=e.options.formattingFn;return e.options.formattingFn=function(){var e=n.apply(void 0,arguments);l(e)},e}();return s.current=n,n},u=function(){var e=t.onReset;c().reset(),e({pauseResume:f,start:m,update:b})},m=function e(){var n=t.onStart,a=t.onEnd;c().reset(),c().start((function(){a({pauseResume:f,reset:u,start:e,update:b})})),n({pauseResume:f,reset:u,update:b})},f=function(){var e=t.onPauseResume;c().pauseResume(),e({reset:u,start:m,update:b})},b=function(e){var n=t.onUpdate;c().update(e),n({pauseResume:f,reset:u,start:m})};return o.useEffect((function(){var e=t.delay,n=t.onStart,a=t.onEnd;if(t.startOnMount)var r=setTimeout((function(){n({pauseResume:f,reset:u,update:b}),c().start((function(){clearTimeout(r),a({pauseResume:f,reset:u,start:m,update:b})}))}),1e3*e);return u}),[]),{countUp:i,start:m,pauseResume:f,reset:u,update:b}}},function(e,t,n){"use strict";var a;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=((a=n(392))&&a.__esModule?a:{default:a}).default;t.default=r},function(e,t,n){var a=n(407),r=n(121)((function(e,t){return null==e?{}:a(e,t)}));e.exports=r},function(e,t,n){var a=n(409),r=n(52),o=n(410),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:o(n);return s<0&&(s=i(l+s,0)),a(e,r(t,3),s)}},function(e,t,n){var a="undefined"!=typeof window,r=a?window.Masonry||n(413):null,o=a?n(418):null,i=n(419),l=n(423),s=n(434),c=n(8),u=n(4),p=n(3),d=n(436),m={enableResizableChildren:u.bool,disableImagesLoaded:u.bool,onImagesLoaded:u.func,updateOnEachImageLoad:u.bool,options:u.object,imagesLoadedOptions:u.object,elementType:u.string,onLayoutComplete:u.func,onRemoveComplete:u.func},f=d({masonry:!1,erd:void 0,latestKnownDomChildren:[],displayName:"MasonryComponent",imagesLoadedCancelRef:void 0,propTypes:m,getDefaultProps:function(){return{enableResizableChildren:!1,disableImagesLoaded:!1,updateOnEachImageLoad:!1,options:{},imagesLoadedOptions:{},className:"",elementType:"div",onLayoutComplete:function(){},onRemoveComplete:function(){}}},initializeMasonry:function(e){this.masonry&&!e||(this.masonry=new r(this.masonryContainer,this.props.options),this.props.onLayoutComplete&&this.masonry.on("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.on("removeComplete",this.props.onRemoveComplete),this.latestKnownDomChildren=this.getCurrentDomChildren())},getCurrentDomChildren:function(){var e=this.masonryContainer,t=this.props.options.itemSelector?e.querySelectorAll(this.props.options.itemSelector):e.children;return Array.prototype.slice.call(t)},diffDomChildren:function(){var e=!1,t=this.latestKnownDomChildren.filter((function(e){return!!e.parentNode}));t.length!==this.latestKnownDomChildren.length&&(e=!0);var n=this.getCurrentDomChildren(),a=t.filter((function(e){return!~n.indexOf(e)})),r=n.filter((function(e){return!~t.indexOf(e)})),o=0,i=r.filter((function(e){var t=o===n.indexOf(e);return t&&o++,t})),l=r.filter((function(e){return-1===i.indexOf(e)})),s=[];return 0===a.length&&(s=t.filter((function(e,t){return t!==n.indexOf(e)}))),this.latestKnownDomChildren=n,{old:t,new:n,removed:a,appended:l,prepended:i,moved:s,forceItemReload:e}},performLayout:function(){var e=this.diffDomChildren(),t=e.forceItemReload||e.moved.length>0;e.removed.length>0&&(this.props.enableResizableChildren&&e.removed.forEach(this.erd.removeAllListeners,this.erd),this.masonry.remove(e.removed),t=!0),e.appended.length>0&&(this.masonry.appended(e.appended),0===e.prepended.length&&(t=!0),this.props.enableResizableChildren&&e.appended.forEach(this.listenToElementResize,this)),e.prepended.length>0&&(this.masonry.prepended(e.prepended),this.props.enableResizableChildren&&e.prepended.forEach(this.listenToElementResize,this)),t&&this.masonry.reloadItems(),this.masonry.layout()},derefImagesLoaded:function(){this.imagesLoadedCancelRef(),this.imagesLoadedCancelRef=void 0},imagesLoaded:function(){if(!this.props.disableImagesLoaded){this.imagesLoadedCancelRef&&this.derefImagesLoaded();var e=this.props.updateOnEachImageLoad?"progress":"always",t=s(function(e){this.props.onImagesLoaded&&this.props.onImagesLoaded(e),this.masonry.layout()}.bind(this),100),n=o(this.masonryContainer,this.props.imagesLoadedOptions).on(e,t);this.imagesLoadedCancelRef=function(){n.off(e,t),t.cancel()}}},initializeResizableChildren:function(){this.props.enableResizableChildren&&(this.erd=l({strategy:"scroll"}),this.latestKnownDomChildren.forEach(this.listenToElementResize,this))},listenToElementResize:function(e){this.erd.listenTo(e,function(){this.masonry.layout()}.bind(this))},destroyErd:function(){this.erd&&this.latestKnownDomChildren.forEach(this.erd.uninstall,this.erd)},componentDidMount:function(){this.initializeMasonry(),this.initializeResizableChildren(),this.imagesLoaded()},componentDidUpdate:function(){this.performLayout(),this.imagesLoaded()},componentWillUnmount:function(){this.destroyErd(),this.props.onLayoutComplete&&this.masonry.off("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.off("removeComplete",this.props.onRemoveComplete),this.imagesLoadedCancelRef&&this.derefImagesLoaded(),this.masonry.destroy()},setRef:function(e){this.masonryContainer=e},render:function(){var e=c(this.props,Object.keys(m));return p.createElement(this.props.elementType,i({},e,{ref:this.setRef}),this.props.children)}});e.exports=f,e.exports.default=f},function(e,t){const n=wp.element.createElement,a=n("svg",{width:20,height:20},n("path",{fill:"#474745",d:"M0.1,10.7C-0.2,7.4,1.4,3,5.8,1C9.7-0.9,14.5,0.1,17,2.8c-0.4,0-0.8-0.1-1.2-0.1 c-1.5,0-2.7,1.1-3,2.6c0,0.2,0,0.4,0,0.6c0,3.2,0,6.4,0,9.5c0,1.1,0,2.3,0,3.4c0,0.6-0.3,1-0.8,1.1c-0.6,0.2-1.2-0.2-1.3-0.9 c0-0.1,0-0.2,0-0.2c0-1.4,0-2.8,0-4.2c0-0.7,0-1.5-0.1-2.2c-0.3-2.2-2.1-4-4.3-4.5C4,7.4,1.8,8.3,0.5,10.3 C0.4,10.4,0.3,10.5,0.1,10.7z"}),n("path",{fill:"#474745",d:"M14.5,18.9c0-0.7,0-1.3,0-1.9c0-1.1,0-2.3,0-3.4c0-0.2,0.1-0.3,0.3-0.3c0.7,0,1.4,0,2,0 c0.6,0,1-0.4,1-0.9c0-0.6-0.4-1-1-1c-0.7,0-1.4,0-2,0c-0.3,0-0.4-0.1-0.4-0.3c0-1.7,0-3.5,0-5.2c0-0.7,0.3-1.1,0.9-1.3 c0.5-0.1,1.1,0.2,1.2,0.7c0.1,0.2,0.1,0.4,0.1,0.6c0.1,0.6,0.5,0.9,1.1,0.9c0.6,0,1-0.5,0.9-1.2c0,0,0-0.1,0-0.2 c1.2,1.7,1.6,4.7,0.8,7.5C18.7,15.6,17.1,17.6,14.5,18.9z"}),n("path",{fill:"#474745",d:"M8.9,13.5c0,2.1-1.7,3.7-3.7,3.7s-3.7-1.7-3.7-3.8c0-2.1,1.7-3.7,3.8-3.7 C7.2,9.7,8.9,11.3,8.9,13.5z"}),n("path",{fill:"#474745",d:"M5.8,19.1c1.1-0.2,2.1-0.6,3-1.3C8.9,18.5,8.9,19.3,9,20C7.9,19.9,6.8,19.6,5.8,19.1z"}));wp.blocks.updateCategory("blockspare",{icon:a})},function(e,t,n){var a=n(72),r=n(302),o=n(45),i=n(303),l=n(310),s=n(313),c=n(314),u=n(315),p=n(316),d=n(118),m=n(84),f=n(49),b=n(321),g=n(322),h=n(327),y=n(5),v=n(77),w=n(329),k=n(7),_=n(331),S=n(20),E={};E["[object Arguments]"]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E["[object Object]"]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E["[object Function]"]=E["[object WeakMap]"]=!1,e.exports=function e(t,n,T,x,M,C){var L,O=1&n,D=2&n,j=4&n;if(T&&(L=M?T(t,x,M,C):T(t)),void 0!==L)return L;if(!k(t))return t;var F=y(t);if(F){if(L=b(t),!O)return c(t,L)}else{var P=f(t),Y="[object Function]"==P||"[object GeneratorFunction]"==P;if(v(t))return s(t,O);if("[object Object]"==P||"[object Arguments]"==P||Y&&!M){if(L=D||Y?{}:h(t),!O)return D?p(t,l(L,t)):u(t,i(L,t))}else{if(!E[P])return M?t:{};L=g(t,P,O)}}C||(C=new a);var N=C.get(t);if(N)return N;C.set(t,L),_(t)?t.forEach((function(a){L.add(e(a,n,T,a,t,C))})):w(t)&&t.forEach((function(a,r){L.set(r,e(a,n,T,r,t,C))}));var z=j?D?m:d:D?keysIn:S,B=F?void 0:z(t);return r(B||t,(function(a,r){B&&(a=t[r=a]),o(L,r,e(a,n,T,r,t,C))})),L}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var a=n(41),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=a(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},function(e,t,n){var a=n(41);e.exports=function(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var a=n(41);e.exports=function(e){return a(this.__data__,e)>-1}},function(e,t,n){var a=n(41);e.exports=function(e,t){var n=this.__data__,r=a(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},function(e,t,n){var a=n(40);e.exports=function(){this.__data__=new a,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var a=n(40),r=n(73),o=n(75);e.exports=function(e,t){var n=this.__data__;if(n instanceof a){var i=n.__data__;if(!r||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(i)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var a=n(106),r=n(287),o=n(7),i=n(108),l=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,u=s.toString,p=c.hasOwnProperty,d=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(a(e)?d:l).test(i(e))}},function(e,t,n){var a=n(18),r=Object.prototype,o=r.hasOwnProperty,i=r.toString,l=a?a.toStringTag:void 0;e.exports=function(e){var t=o.call(e,l),n=e[l];try{e[l]=void 0;var a=!0}catch(e){}var r=i.call(e);return a&&(t?e[l]=n:delete e[l]),r}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var a,r=n(288),o=(a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var a=n(6)["__core-js_shared__"];e.exports=a},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var a=n(291),r=n(40),o=n(73);e.exports=function(){this.size=0,this.__data__={hash:new a,map:new(o||r),string:new a}}},function(e,t,n){var a=n(292),r=n(293),o=n(294),i=n(295),l=n(296);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}s.prototype.clear=a,s.prototype.delete=r,s.prototype.get=o,s.prototype.has=i,s.prototype.set=l,e.exports=s},function(e,t,n){var a=n(43);e.exports=function(){this.__data__=a?a(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var a=n(43),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(a){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},function(e,t,n){var a=n(43),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return a?void 0!==t[e]:r.call(t,e)}},function(e,t,n){var a=n(43);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=a&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var a=n(44);e.exports=function(e){var t=a(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var a=n(44);e.exports=function(e){return a(this,e).get(e)}},function(e,t,n){var a=n(44);e.exports=function(e){return a(this,e).has(e)}},function(e,t,n){var a=n(44);e.exports=function(e,t){var n=a(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},function(e,t){e.exports=function(e,t){for(var n=-1,a=null==e?0:e.length;++n<a&&!1!==t(e[n],n,e););return e}},function(e,t,n){var a=n(19),r=n(20);e.exports=function(e,t){return e&&a(t,r(t),e)}},function(e,t){e.exports=function(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}},function(e,t,n){var a=n(17),r=n(11);e.exports=function(e){return r(e)&&"[object Arguments]"==a(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var a=n(17),r=n(78),o=n(11),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!i[a(e)]}},function(e,t,n){var a=n(48),r=n(309),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!a(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var a=n(113)(Object.keys,Object);e.exports=a},function(e,t,n){var a=n(19),r=n(114);e.exports=function(e,t){return e&&a(t,r(t),e)}},function(e,t,n){var a=n(7),r=n(48),o=n(312),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!a(e))return o(e);var t=r(e),n=[];for(var l in e)("constructor"!=l||!t&&i.call(e,l))&&n.push(l);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var a=n(6),r=t&&!t.nodeType&&t,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===r?a.Buffer:void 0,l=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,a=l?l(n):new e.constructor(n);return e.copy(a),a}}).call(this,n(46)(e))},function(e,t){e.exports=function(e,t){var n=-1,a=e.length;for(t||(t=Array(a));++n<a;)t[n]=e[n];return t}},function(e,t,n){var a=n(19),r=n(81);e.exports=function(e,t){return a(e,r(e),t)}},function(e,t,n){var a=n(19),r=n(117);e.exports=function(e,t){return a(e,r(e),t)}},function(e,t,n){var a=n(14)(n(6),"DataView");e.exports=a},function(e,t,n){var a=n(14)(n(6),"Promise");e.exports=a},function(e,t,n){var a=n(14)(n(6),"Set");e.exports=a},function(e,t,n){var a=n(14)(n(6),"WeakMap");e.exports=a},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,a=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(a.index=e.index,a.input=e.input),a}},function(e,t,n){var a=n(85),r=n(323),o=n(324),i=n(325),l=n(326);e.exports=function(e,t,n){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return a(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return r(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return l(e,n);case"[object Map]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return o(e);case"[object Set]":return new s;case"[object Symbol]":return i(e)}}},function(e,t,n){var a=n(85);e.exports=function(e,t){var n=t?a(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var a=n(18),r=a?a.prototype:void 0,o=r?r.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},function(e,t,n){var a=n(85);e.exports=function(e,t){var n=t?a(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var a=n(328),r=n(83),o=n(48);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:a(r(e))}},function(e,t,n){var a=n(7),r=Object.create,o=function(){function e(){}return function(t){if(!a(t))return{};if(r)return r(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},function(e,t,n){var a=n(330),r=n(79),o=n(80),i=o&&o.isMap,l=i?r(i):a;e.exports=l},function(e,t,n){var a=n(49),r=n(11);e.exports=function(e){return r(e)&&"[object Map]"==a(e)}},function(e,t,n){var a=n(332),r=n(79),o=n(80),i=o&&o.isSet,l=i?r(i):a;e.exports=l},function(e,t,n){var a=n(49),r=n(11);e.exports=function(e){return r(e)&&"[object Set]"==a(e)}},function(e,t,n){var a=n(22),r=n(338),o=n(339),i=n(23);e.exports=function(e,t){return t=a(t,e),null==(e=o(e,t))||delete e[i(r(t))]}},function(e,t,n){var a=n(335),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=a((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,(function(e,n,a,r){t.push(a?r.replace(o,"$1"):n||e)})),t}));e.exports=i},function(e,t,n){var a=n(336);e.exports=function(e){var t=a(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var a=n(75);function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],o=n.cache;if(o.has(r))return o.get(r);var i=e.apply(this,a);return n.cache=o.set(r,i)||o,i};return n.cache=new(r.Cache||a),n}r.Cache=a,e.exports=r},function(e,t,n){var a=n(18),r=n(39),o=n(5),i=n(50),l=a?a.prototype:void 0,s=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return r(t,e)+"";if(i(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var a=n(51),r=n(340);e.exports=function(e,t){return t.length<2?e:a(e,r(t,0,-1))}},function(e,t){e.exports=function(e,t,n){var a=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(r);++a<r;)o[a]=e[a+t];return o}},function(e,t,n){var a=n(342);e.exports=function(e){return a(e)?void 0:e}},function(e,t,n){var a=n(17),r=n(83),o=n(11),i=Function.prototype,l=Object.prototype,s=i.toString,c=l.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=a(e))return!1;var t=r(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==u}},function(e,t,n){var a=n(344);e.exports=function(e){return(null==e?0:e.length)?a(e,1):[]}},function(e,t,n){var a=n(82),r=n(345);e.exports=function e(t,n,o,i,l){var s=-1,c=t.length;for(o||(o=r),l||(l=[]);++s<c;){var u=t[s];n>0&&o(u)?n>1?e(u,n-1,o,i,l):a(l,u):i||(l[l.length]=u)}return l}},function(e,t,n){var a=n(18),r=n(76),o=n(5),i=a?a.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||r(e)||!!(i&&e&&e[i])}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var a=n(348),r=n(110),o=n(88),i=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:a(t),writable:!0})}:o;e.exports=i},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var n=Date.now;e.exports=function(e){var t=0,a=0;return function(){var r=n(),o=16-(r-a);if(a=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var a=n(351),r=n(352),o=n(355),i=RegExp("['’]","g");e.exports=function(e){return function(t){return a(o(r(t).replace(i,"")),e,"")}}},function(e,t){e.exports=function(e,t,n,a){var r=-1,o=null==e?0:e.length;for(a&&o&&(n=e[++r]);++r<o;)n=t(n,e[r],r,e);return n}},function(e,t,n){var a=n(353),r=n(87),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=r(e))&&e.replace(o,a).replace(i,"")}},function(e,t,n){var a=n(354)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=a},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){var a=n(356),r=n(357),o=n(87),i=n(358);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?r(e)?i(e):a(e):e.match(t)||[]}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+n+"]",r="\\d+",o="[\\u2700-\\u27bf]",i="[a-z\\xdf-\\xf6\\xf8-\\xff]",l="[^\\ud800-\\udfff"+n+r+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",u="[A-Z\\xc0-\\xd6\\xd8-\\xde]",p="(?:"+i+"|"+l+")",d="(?:"+u+"|"+l+")",m="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",f="[\\ufe0e\\ufe0f]?"+m+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",s,c].join("|")+")[\\ufe0e\\ufe0f]?"+m+")*"),b="(?:"+[o,s,c].join("|")+")"+f,g=RegExp([u+"?"+i+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[a,u,"$"].join("|")+")",d+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[a,u+p,"$"].join("|")+")",u+"?"+p+"+(?:['’](?:d|ll|m|re|s|t|ve))?",u+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",r,b].join("|"),"g");e.exports=function(e){return e.match(g)||[]}},function(e,t,n){"use strict";var a=n(360);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,i){if(i!==a){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var a=n(362),r=n(373),o=n(127);e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||a(n,e,t)}}},function(e,t,n){var a=n(72),r=n(124);e.exports=function(e,t,n,o){var i=n.length,l=i,s=!o;if(null==e)return!l;for(e=Object(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<l;){var u=(c=n[i])[0],p=e[u],d=c[1];if(s&&c[2]){if(void 0===p&&!(u in e))return!1}else{var m=new a;if(o)var f=o(p,d,u,e,t,m);if(!(void 0===f?r(d,p,3,o,m):f))return!1}}return!0}},function(e,t,n){var a=n(72),r=n(125),o=n(369),i=n(372),l=n(49),s=n(5),c=n(77),u=n(112),p="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,f,b){var g=s(e),h=s(t),y=g?"[object Array]":l(e),v=h?"[object Array]":l(t),w=(y="[object Arguments]"==y?p:y)==p,k=(v="[object Arguments]"==v?p:v)==p,_=y==v;if(_&&c(e)){if(!c(t))return!1;g=!0,w=!1}if(_&&!w)return b||(b=new a),g||u(e)?r(e,t,n,m,f,b):o(e,t,y,n,m,f,b);if(!(1&n)){var S=w&&d.call(e,"__wrapped__"),E=k&&d.call(t,"__wrapped__");if(S||E){var T=S?e.value():e,x=E?t.value():t;return b||(b=new a),f(T,x,n,m,b)}}return!!_&&(b||(b=new a),i(e,t,n,m,f,b))}},function(e,t,n){var a=n(75),r=n(365),o=n(366);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new a;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=r,i.prototype.has=o,e.exports=i},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,a=null==e?0:e.length;++n<a;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var a=n(18),r=n(120),o=n(42),i=n(125),l=n(370),s=n(371),c=a?a.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,a,c,p,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var m=l;case"[object Set]":var f=1&a;if(m||(m=s),e.size!=t.size&&!f)return!1;var b=d.get(e);if(b)return b==t;a|=2,d.set(e,t);var g=i(m(e),m(t),a,c,p,d);return d.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,a){n[++t]=[a,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var a=n(118),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,i,l){var s=1&n,c=a(e),u=c.length;if(u!=a(t).length&&!s)return!1;for(var p=u;p--;){var d=c[p];if(!(s?d in t:r.call(t,d)))return!1}var m=l.get(e);if(m&&l.get(t))return m==t;var f=!0;l.set(e,t),l.set(t,e);for(var b=s;++p<u;){var g=e[d=c[p]],h=t[d];if(o)var y=s?o(h,g,d,t,e,l):o(g,h,d,e,t,l);if(!(void 0===y?g===h||i(g,h,n,o,l):y)){f=!1;break}b||(b="constructor"==d)}if(f&&!b){var v=e.constructor,w=t.constructor;v==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(f=!1)}return l.delete(e),l.delete(t),f}},function(e,t,n){var a=n(126),r=n(20);e.exports=function(e){for(var t=r(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,a(i)]}return t}},function(e,t,n){var a=n(124),r=n(54),o=n(128),i=n(86),l=n(126),s=n(127),c=n(23);e.exports=function(e,t){return i(e)&&l(t)?s(c(e),t):function(n){var i=r(n,e);return void 0===i&&i===t?o(n,e):a(t,i,3)}}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var a=n(22),r=n(76),o=n(5),i=n(47),l=n(78),s=n(23);e.exports=function(e,t,n){for(var c=-1,u=(t=a(t,e)).length,p=!1;++c<u;){var d=s(t[c]);if(!(p=null!=e&&n(e,d)))break;e=e[d]}return p||++c!=u?p:!!(u=null==e?0:e.length)&&l(u)&&i(d,u)&&(o(e)||r(e))}},function(e,t,n){var a=n(378),r=n(379),o=n(86),i=n(23);e.exports=function(e){return o(e)?a(i(e)):r(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var a=n(51);e.exports=function(e){return function(t){return a(t,e)}}},function(e,t,n){var a=n(129),r=n(21);e.exports=function(e,t){var n=-1,o=r(e)?Array(e.length):[];return a(e,(function(e,a,r){o[++n]=t(e,a,r)})),o}},function(e,t,n){var a=n(382),r=n(20);e.exports=function(e,t){return e&&a(e,t,r)}},function(e,t,n){var a=n(383)();e.exports=a},function(e,t){e.exports=function(e){return function(t,n,a){for(var r=-1,o=Object(t),i=a(t),l=i.length;l--;){var s=i[e?l:++r];if(!1===n(o[s],s,o))break}return t}}},function(e,t,n){var a=n(21);e.exports=function(e,t){return function(n,r){if(null==n)return n;if(!a(n))return e(n,r);for(var o=n.length,i=t?o:-1,l=Object(n);(t?i--:++i<o)&&!1!==r(l[i],i,l););return n}}},function(e,t,n){"use strict"; |
| 81 |
*/!function(o,i){"use strict";a=[n(90)],void 0===(r=function(e){return function(e,t){var n=e.jQuery,a=e.console;function r(e,t){for(var n in t)e[n]=t[n];return e}var o=Array.prototype.slice;function i(e,t,l){if(!(this instanceof i))return new i(e,t,l);var s,c=e;("string"==typeof e&&(c=document.querySelectorAll(e)),c)?(this.elements=(s=c,Array.isArray(s)?s:"object"==typeof s&&"number"==typeof s.length?o.call(s):[s]),this.options=r({},this.options),"function"==typeof t?l=t:r(this.options,t),l&&this.on("always",l),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):a.error("Bad element for imagesLoaded "+(c||e))}i.prototype=Object.create(t.prototype),i.prototype.options={},i.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},i.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&l[t]){for(var n=e.querySelectorAll("img"),a=0;a<n.length;a++){var r=n[a];this.addImage(r)}if("string"==typeof this.options.background){var o=e.querySelectorAll(this.options.background);for(a=0;a<o.length;a++){var i=o[a];this.addElementBackgroundImages(i)}}}};var l={1:!0,9:!0,11:!0};function s(e){this.img=e}function c(e,t){this.url=e,this.element=t,this.img=new Image}return i.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var n=/url\((['"])?(.*?)\1\)/gi,a=n.exec(t.backgroundImage);null!==a;){var r=a&&a[2];r&&this.addBackground(r,e),a=n.exec(t.backgroundImage)}},i.prototype.addImage=function(e){var t=new s(e);this.images.push(t)},i.prototype.addBackground=function(e,t){var n=new c(e,t);this.images.push(n)},i.prototype.check=function(){var e=this;function t(t,n,a){setTimeout((function(){e.progress(t,n,a)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(e){e.once("progress",t),e.check()})):this.complete()},i.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+n,e,t)},i.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},s.prototype=Object.create(t.prototype),s.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},s.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},s.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},s.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},s.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},s.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(s.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},i.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((n=t).fn.imagesLoaded=function(e,t){return new i(this,e,t).jqDeferred.promise(n(this))})},i.makeJQueryPlugin(),i}(o,e)}.apply(t,a))||(e.exports=r)}("undefined"!=typeof window?window:this)},function(e,t,n){var a=n(45),r=n(19),o=n(420),i=n(21),l=n(48),s=n(20),c=Object.prototype.hasOwnProperty,u=o((function(e,t){if(l(t)||i(t))r(t,s(t),e);else for(var n in t)c.call(t,n)&&a(e,n,t[n])}));e.exports=u},function(e,t,n){var a=n(421),r=n(422);e.exports=function(e){return a((function(t,n){var a=-1,o=n.length,i=o>1?n[o-1]:void 0,l=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,l&&r(n[0],n[1],l)&&(i=o<3?void 0:i,o=1),t=Object(t);++a<o;){var s=n[a];s&&e(t,s,a,i)}return t}))}},function(e,t,n){var a=n(88),r=n(122),o=n(123);e.exports=function(e,t){return o(r(e,t,a),e+"")}},function(e,t,n){var a=n(42),r=n(21),o=n(47),i=n(7);e.exports=function(e,t,n){if(!i(n))return!1;var l=typeof t;return!!("number"==l?r(n)&&o(t,n.length):"string"==l&&t in n)&&a(n[t],e)}},function(e,t,n){"use strict";var a=n(260).forEach,r=n(424),o=n(425),i=n(426),l=n(427),s=n(428),c=n(261),u=n(429),p=n(431),d=n(432),m=n(433);function f(e){return Array.isArray(e)||void 0!==e.length}function b(e){if(Array.isArray(e))return e;var t=[];return a(e,(function(e){t.push(e)})),t}function g(e){return e&&1===e.nodeType}function h(e,t,n){var a=e[t];return null==a&&void 0!==n?n:a}e.exports=function(e){var t;if((e=e||{}).idHandler)t={get:function(t){return e.idHandler.get(t,!0)},set:e.idHandler.set};else{var n=i(),y=l({idGenerator:n,stateHandler:p});t=y}var v=e.reporter;v||(v=s(!1===v));var w=h(e,"batchProcessor",u({reporter:v})),k={};k.callOnAdd=!!h(e,"callOnAdd",!0),k.debug=!!h(e,"debug",!1);var _,S=o(t),E=r({stateHandler:p}),T=h(e,"strategy","object"),x=h(e,"important",!1),M={reporter:v,batchProcessor:w,stateHandler:p,idHandler:t,important:x};if("scroll"===T&&(c.isLegacyOpera()?(v.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),T="object"):c.isIE(9)&&(v.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),T="object")),"scroll"===T)_=m(M);else{if("object"!==T)throw new Error("Invalid strategy name: "+T);_=d(M)}var C={};return{listenTo:function(e,n,r){function o(e){var t=S.get(e);a(t,(function(t){t(e)}))}function i(e,t,n){S.add(t,n),e&&n(t)}if(r||(r=n,n=e,e={}),!n)throw new Error("At least one element required.");if(!r)throw new Error("Listener required.");if(g(n))n=[n];else{if(!f(n))return v.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");n=b(n)}var l=0,s=h(e,"callOnAdd",k.callOnAdd),c=h(e,"onReady",(function(){})),u=h(e,"debug",k.debug);a(n,(function(e){p.getState(e)||(p.initState(e),t.set(e));var d=t.get(e);if(u&&v.log("Attaching listener to element",d,e),!E.isDetectable(e))return u&&v.log(d,"Not detectable."),E.isBusy(e)?(u&&v.log(d,"System busy making it detectable"),i(s,e,r),C[d]=C[d]||[],void C[d].push((function(){++l===n.length&&c()}))):(u&&v.log(d,"Making detectable..."),E.markBusy(e,!0),_.makeDetectable({debug:u,important:x},e,(function(e){if(u&&v.log(d,"onElementDetectable"),p.getState(e)){E.markAsDetectable(e),E.markBusy(e,!1),_.addListener(e,o),i(s,e,r);var t=p.getState(e);if(t&&t.startSize){var m=e.offsetWidth,f=e.offsetHeight;t.startSize.width===m&&t.startSize.height===f||o(e)}C[d]&&a(C[d],(function(e){e()}))}else u&&v.log(d,"Element uninstalled before being detectable.");delete C[d],++l===n.length&&c()})));u&&v.log(d,"Already detecable, adding listener."),i(s,e,r),l++})),l===n.length&&c()},removeListener:S.removeListener,removeAllListeners:S.removeAllListeners,uninstall:function(e){if(!e)return v.error("At least one element is required.");if(g(e))e=[e];else{if(!f(e))return v.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=b(e)}a(e,(function(e){S.removeAllListeners(e),_.uninstall(e),p.cleanState(e)}))},initDocument:function(e){_.initDocument&&_.initDocument(e)}}}},function(e,t,n){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var n=t(e);return n&&!!n.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,n){t(e).busy=!!n}}}},function(e,t,n){"use strict";e.exports=function(e){var t={};function n(n){var a=e.get(n);return void 0===a?[]:t[a]||[]}return{get:n,add:function(n,a){var r=e.get(n);t[r]||(t[r]=[]),t[r].push(a)},removeListener:function(e,t){for(var a=n(e),r=0,o=a.length;r<o;++r)if(a[r]===t){a.splice(r,1);break}},removeAllListeners:function(e){var t=n(e);t&&(t.length=0)}}}},function(e,t,n){"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},function(e,t,n){"use strict";e.exports=function(e){var t=e.idGenerator,n=e.stateHandler.getState;return{get:function(e){var t=n(e);return t&&void 0!==t.id?t.id:null},set:function(e){var a=n(e);if(!a)throw new Error("setId required the element to have a resize detection state.");var r=t.generate();return a.id=r,r}}}},function(e,t,n){"use strict";e.exports=function(e){function t(){}var n={log:t,warn:t,error:t};if(!e&&window.console){var a=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var n=0;n<arguments.length;n++)e(arguments[n])}};a(n,"log"),a(n,"warn"),a(n,"error")}return n}},function(e,t,n){"use strict";var a=n(430);function r(){var e={},t=0,n=0,a=0;return{add:function(r,o){o||(o=r,r=0),r>n?n=r:r<a&&(a=r),e[r]||(e[r]=[]),e[r].push(o),t++},process:function(){for(var t=a;t<=n;t++)for(var r=e[t],o=0;o<r.length;o++){(0,r[o])()}},size:function(){return t}}}e.exports=function(e){var t=(e=e||{}).reporter,n=a.getOption(e,"async",!0),o=a.getOption(e,"auto",!0);o&&!n&&(t&&t.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),n=!0);var i,l=r(),s=!1;function c(){for(s=!0;l.size();){var e=l;l=r(),e.process()}s=!1}function u(){var e;e=c,i=setTimeout(e,0)}return{add:function(e,t){!s&&o&&n&&0===l.size()&&u(),l.add(e,t)},force:function(e){s||(void 0===e&&(e=n),i&&(clearTimeout(i),i=null),e?u():c())}}}},function(e,t,n){"use strict";(e.exports={}).getOption=function(e,t,n){var a=e[t];if(null==a&&void 0!==n)return n;return a}},function(e,t,n){"use strict";function a(e){return e._erd}e.exports={initState:function(e){return e._erd={},a(e)},getState:a,cleanState:function(e){delete e._erd}}},function(e,t,n){"use strict";var a=n(261);e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,r=e.stateHandler.getState;if(!t)throw new Error("Missing required dependency: reporter.");function o(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function i(e){return r(e).object}return{makeDetectable:function(e,i,l){l||(l=i,i=e,e=null),(e=e||{}).debug,a.isIE(8)?l(i):function(i,l){var s=o(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),c=!1,u=window.getComputedStyle(i),p=i.offsetWidth,d=i.offsetHeight;function m(){function n(){if("static"===u.position){i.style.setProperty("position","relative",e.important?"important":"");var n=function(t,n,a,r){var o=a[r];"auto"!==o&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(o)&&(t.warn("An element that is positioned static has style."+r+"="+o+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",n),n.style.setProperty(r,"0",e.important?"important":""))};n(t,i,u,"top"),n(t,i,u,"right"),n(t,i,u,"bottom"),n(t,i,u,"left")}}""!==u.position&&(n(),c=!0);var o=document.createElement("object");o.style.cssText=s,o.tabIndex=-1,o.type="text/html",o.setAttribute("aria-hidden","true"),o.onload=function(){c||n(),function e(t,n){if(!t.contentDocument){var a=r(t);return a.checkForObjectDocumentTimeoutId&&window.clearTimeout(a.checkForObjectDocumentTimeoutId),void(a.checkForObjectDocumentTimeoutId=setTimeout((function(){a.checkForObjectDocumentTimeoutId=0,e(t,n)}),100))}n(t.contentDocument)}(this,(function(e){l(i)}))},a.isIE()||(o.data="about:blank"),r(i)&&(i.appendChild(o),r(i).object=o,a.isIE()&&(o.data="about:blank"))}r(i).startSize={width:p,height:d},n?n.add(m):m()}(i,l)},addListener:function(e,t){function n(){t(e)}if(a.isIE(8))r(e).object={proxy:n},e.attachEvent("onresize",n);else{var o=i(e);if(!o)throw new Error("Element is not detectable by this strategy.");o.contentDocument.defaultView.addEventListener("resize",n)}},uninstall:function(e){if(r(e)){var t=i(e);t&&(a.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),r(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(r(e).checkForObjectDocumentTimeoutId),delete r(e).object)}}}}},function(e,t,n){"use strict";var a=n(260).forEach;e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,r=e.stateHandler.getState,o=(e.stateHandler.hasState,e.idHandler);if(!n)throw new Error("Missing required dependency: batchProcessor");if(!t)throw new Error("Missing required dependency: reporter.");var i=function(){var e=document.createElement("div");e.style.cssText=s(["position: absolute","width: 1000px","height: 1000px","visibility: hidden","margin: 0","padding: 0"]);var t=document.createElement("div");t.style.cssText=s(["position: absolute","width: 500px","height: 500px","overflow: scroll","visibility: none","top: -1500px","left: -1500px","visibility: hidden","margin: 0","padding: 0"]),t.appendChild(e),document.body.insertBefore(t,document.body.firstChild);var n=500-t.clientWidth,a=500-t.clientHeight;return document.body.removeChild(t),{width:n,height:a}}();function l(e){!function(e,t,n){if(!e.getElementById(t)){var a=n+"_animation",r=n+"_animation_active",o="/* Created by the element-resize-detector library. */\n";o+="."+n+" > div::-webkit-scrollbar { "+s(["display: none"])+" }\n\n",o+="."+r+" { "+s(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+a,"animation-name: "+a])+" }\n",o+="@-webkit-keyframes "+a+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(n,a){a=a||function(t){e.head.appendChild(t)};var r=e.createElement("style");r.innerHTML=n,r.id=t,a(r)}(o+="@keyframes "+a+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}(e,"erd_scroll_detection_scrollbar_style","erd_scroll_detection_container")}function s(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function c(e,n,a){if(e.addEventListener)e.addEventListener(n,a);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+n,a)}}function u(e,n,a){if(e.removeEventListener)e.removeEventListener(n,a);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+n,a)}}function p(e){return r(e).container.childNodes[0].childNodes[0].childNodes[0]}function d(e){return r(e).container.childNodes[0].childNodes[0].childNodes[1]}return l(window.document),{makeDetectable:function(e,l,u){function m(){if(e.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(o.get(l),"Scroll: "),t.log.apply)t.log.apply(null,n);else for(var a=0;a<n.length;a++)t.log(n[a])}}function f(e){var t=r(e).container.childNodes[0],n=window.getComputedStyle(t);return!n.width||-1===n.width.indexOf("px")}function b(){var e=window.getComputedStyle(l),t={};return t.position=e.position,t.width=l.offsetWidth,t.height=l.offsetHeight,t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.widthCSS=e.width,t.heightCSS=e.height,t}function g(){if(m("storeStyle invoked."),r(l)){var e=b();r(l).style=e}else m("Aborting because element has been uninstalled")}function h(e,t,n){r(e).lastWidth=t,r(e).lastHeight=n}function y(){return 2*i.width+1}function v(){return 2*i.height+1}function w(e){return e+10+y()}function k(e){return e+10+v()}function _(e,t,n){var a=p(e),r=d(e),o=w(t),i=k(n),l=function(e){return 2*e+y()}(t),s=function(e){return 2*e+v()}(n);a.scrollLeft=o,a.scrollTop=i,r.scrollLeft=l,r.scrollTop=s}function S(){var e=r(l).container;if(!e){(e=document.createElement("div")).className="erd_scroll_detection_container",e.style.cssText=s(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),r(l).container=e,function(e){e.className+=" erd_scroll_detection_container_animation_active"}(e),l.appendChild(e);var t=function(){r(l).onRendered&&r(l).onRendered()};c(e,"animationstart",t),r(l).onAnimationStart=t}return e}function E(){if(m("Injecting elements"),r(l)){!function(){var n=r(l).style;if("static"===n.position){l.style.setProperty("position","relative",e.important?"important":"");var a=function(e,t,n,a){var r=n[a];"auto"!==r&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(r)&&(e.warn("An element that is positioned static has style."+a+"="+r+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+a+" will be set to 0. Element: ",t),t.style[a]=0)};a(t,l,n,"top"),a(t,l,n,"right"),a(t,l,n,"bottom"),a(t,l,n,"left")}}();var n=r(l).container;n||(n=S());var a,o,u,p,d=i.width,f=i.height,b=s(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),g=s(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(["left: "+(a=(a=-(1+d))?a+"px":"0"),"top: "+(o=(o=-(1+f))?o+"px":"0"),"right: "+(p=(p=-d)?p+"px":"0"),"bottom: "+(u=(u=-f)?u+"px":"0")])),h=s(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),y=s(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),v=s(["position: absolute","left: 0","top: 0"]),w=s(["position: absolute","width: 200%","height: 200%"]),k=document.createElement("div"),_=document.createElement("div"),E=document.createElement("div"),T=document.createElement("div"),x=document.createElement("div"),M=document.createElement("div");k.dir="ltr",k.style.cssText=b,k.className="erd_scroll_detection_container",_.className="erd_scroll_detection_container",_.style.cssText=g,E.style.cssText=h,T.style.cssText=v,x.style.cssText=y,M.style.cssText=w,E.appendChild(T),x.appendChild(M),_.appendChild(E),_.appendChild(x),k.appendChild(_),n.appendChild(k),c(E,"scroll",C),c(x,"scroll",L),r(l).onExpandScroll=C,r(l).onShrinkScroll=L}else m("Aborting because element has been uninstalled");function C(){r(l).onExpand&&r(l).onExpand()}function L(){r(l).onShrink&&r(l).onShrink()}}function T(){function i(t,n,a){var r=function(e){return p(e).childNodes[0]}(t),o=w(n),i=k(a);r.style.setProperty("width",o+"px",e.important?"important":""),r.style.setProperty("height",i+"px",e.important?"important":"")}function s(a){var s=l.offsetWidth,u=l.offsetHeight,p=s!==r(l).lastWidth||u!==r(l).lastHeight;m("Storing current size",s,u),h(l,s,u),n.add(0,(function(){if(p)if(r(l))if(c()){if(e.debug){var n=l.offsetWidth,a=l.offsetHeight;n===s&&a===u||t.warn(o.get(l),"Scroll: Size changed before updating detector elements.")}i(l,s,u)}else m("Aborting because element container has not been initialized");else m("Aborting because element has been uninstalled")})),n.add(1,(function(){r(l)?c()?_(l,s,u):m("Aborting because element container has not been initialized"):m("Aborting because element has been uninstalled")})),p&&a&&n.add(2,(function(){r(l)?c()?a():m("Aborting because element container has not been initialized"):m("Aborting because element has been uninstalled")}))}function c(){return!!r(l).container}function u(){m("notifyListenersIfNeeded invoked");var e=r(l);return void 0===r(l).lastNotifiedWidth&&e.lastWidth===e.startSize.width&&e.lastHeight===e.startSize.height?m("Not notifying: Size is the same as the start size, and there has been no notification yet."):e.lastWidth===e.lastNotifiedWidth&&e.lastHeight===e.lastNotifiedHeight?m("Not notifying: Size already notified"):(m("Current size not notified, notifying..."),e.lastNotifiedWidth=e.lastWidth,e.lastNotifiedHeight=e.lastHeight,void a(r(l).listeners,(function(e){e(l)})))}function b(){m("Scroll detected."),f(l)?m("Scroll event fired while unrendered. Ignoring..."):s(u)}if(m("registerListenersAndPositionElements invoked."),r(l)){r(l).onRendered=function(){if(m("startanimation triggered."),f(l))m("Ignoring since element is still unrendered...");else{m("Element rendered.");var e=p(l),t=d(l);0!==e.scrollLeft&&0!==e.scrollTop&&0!==t.scrollLeft&&0!==t.scrollTop||(m("Scrollbars out of sync. Updating detector elements..."),s(u))}},r(l).onExpand=b,r(l).onShrink=b;var g=r(l).style;i(l,g.width,g.height)}else m("Aborting because element has been uninstalled")}function x(){if(m("finalizeDomMutation invoked."),r(l)){var e=r(l).style;h(l,e.width,e.height),_(l,e.width,e.height)}else m("Aborting because element has been uninstalled")}function M(){u(l)}function C(){var e;m("Installing..."),r(l).listeners=[],e=b(),r(l).startSize={width:e.width,height:e.height},m("Element start size",r(l).startSize),n.add(0,g),n.add(1,E),n.add(2,T),n.add(3,x),n.add(4,M)}u||(u=l,l=e,e=null),e=e||{},m("Making detectable..."),!function(e){return!function(e){return e===e.ownerDocument.body||e.ownerDocument.body.contains(e)}(e)||null===window.getComputedStyle(e)}(l)?C():(m("Element is detached"),S(),m("Waiting until element is attached..."),r(l).onRendered=function(){m("Element is now attached"),C()})},addListener:function(e,t){if(!r(e).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");r(e).listeners.push(t)},uninstall:function(e){var t=r(e);t&&(t.onExpandScroll&&u(p(e),"scroll",t.onExpandScroll),t.onShrinkScroll&&u(d(e),"scroll",t.onShrinkScroll),t.onAnimationStart&&u(t.container,"animationstart",t.onAnimationStart),t.container&&e.removeChild(t.container))},initDocument:l}}},function(e,t,n){var a=n(7),r=n(435),o=n(132),i=Math.max,l=Math.min;e.exports=function(e,t,n){var s,c,u,p,d,m,f=0,b=!1,g=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=s,a=c;return s=c=void 0,f=t,p=e.apply(a,n)}function v(e){return f=e,d=setTimeout(k,t),b?y(e):p}function w(e){var n=e-m;return void 0===m||n>=t||n<0||g&&e-f>=u}function k(){var e=r();if(w(e))return _(e);d=setTimeout(k,function(e){var n=t-(e-m);return g?l(n,u-(e-f)):n}(e))}function _(e){return d=void 0,h&&s?y(e):(s=c=void 0,p)}function S(){var e=r(),n=w(e);if(s=arguments,c=this,m=e,n){if(void 0===d)return v(m);if(g)return clearTimeout(d),d=setTimeout(k,t),y(m)}return void 0===d&&(d=setTimeout(k,t)),p}return t=o(t)||0,a(n)&&(b=!!n.leading,u=(g="maxWait"in n)?i(o(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),S.cancel=function(){void 0!==d&&clearTimeout(d),f=0,s=m=c=d=void 0},S.flush=function(){return void 0===d?p:_(r())},S}},function(e,t,n){var a=n(6);e.exports=function(){return a.Date.now()}},function(e,t,n){"use strict";var a=n(3),r=n(437);if(void 0===a)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var o=(new a.Component).updater;e.exports=r(a.Component,a.isValidElement,o)},function(e,t,n){"use strict";var a=n(89),r=n(438),o=n(439);e.exports=function(e,t,n){var i=[],l={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},s={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)p(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=a({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=a({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=m(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=a({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var n in t){var a=t[n];if(t.hasOwnProperty(n)){if(o(!(n in c),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e){var r=s.hasOwnProperty(n)?s[n]:null;return o("DEFINE_MANY_MERGED"===r,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=m(e[n],a))}e[n]=a}}}(e,t)},autobind:function(){}};function u(e,t){var n=l.hasOwnProperty(t)?l[t]:null;y.hasOwnProperty(t)&&o("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&o("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function p(e,n){if(n){o("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),o(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var a=e.prototype,r=a.__reactAutoBindPairs;for(var i in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(i)&&"mixins"!==i){var s=n[i],p=a.hasOwnProperty(i);if(u(p,i),c.hasOwnProperty(i))c[i](e,s);else{var d=l.hasOwnProperty(i);if("function"==typeof s&&!d&&!p&&!1!==n.autobind)r.push(i,s),a[i]=s;else if(p){var b=l[i];o(d&&("DEFINE_MANY_MERGED"===b||"DEFINE_MANY"===b),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",b,i),"DEFINE_MANY_MERGED"===b?a[i]=m(a[i],s):"DEFINE_MANY"===b&&(a[i]=f(a[i],s))}else a[i]=s}}}else;}function d(e,t){for(var n in o(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(o(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function m(e,t){return function(){var n=e.apply(this,arguments),a=t.apply(this,arguments);if(null==n)return a;if(null==a)return n;var r={};return d(r,n),d(r,a),r}}function f(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function b(e,t){return t.bind(e)}var g={componentDidMount:function(){this.__isMounted=!0}},h={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},v=function(){};return a(v.prototype,e.prototype,y),function(e){var t=function(e,a,i){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var a=t[n],r=t[n+1];e[a]=b(e,r)}}(this),this.props=e,this.context=a,this.refs=r,this.updater=i||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;o("object"==typeof l&&!Array.isArray(l),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=l};for(var a in t.prototype=new v,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],i.forEach(p.bind(null,t)),p(t,g),p(t,e),p(t,h),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),o(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[a]||(t.prototype[a]=null);return t}}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";e.exports=function(e,t,n,a,r,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,a,r,o,i,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t,n){"use strict";n.r(t);n(441),n(445),n(272),n(446);const a={};a.category=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-blockspare",fill:"url(#blockspare-gradient)",width:"20px",height:"20px",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40"},wp.element.createElement("g",{className:"blockspare-logo"},wp.element.createElement("g",null,wp.element.createElement("path",{class:"st0",d:"M1.6,9.2v21.4l18.3-9.2L20.2,0L1.6,9.2z M16.9,19.8L4.9,26V10.9l12-6.1V19.8z"}),wp.element.createElement("polygon",{id:"XMLID_3_",class:"st1",points:"19.9,21.4 16.9,23 26,27.7 13.8,33.8 4.9,29 1.6,30.7 13.9,36.9 32.4,27.7 "})),wp.element.createElement("g",null,wp.element.createElement("polygon",{id:"XMLID_2_",class:"st0",points:"23,1.5 23,19.8 32.4,24.6 32.4,9.4 35.3,10.9 35.3,29 38.4,30.7 38.4,9.2 29.4,4.8 29.2,19.7 26,18.4 26,3.1 "}),wp.element.createElement("polygon",{id:"XMLID_1_",class:"st1",points:"17,38.4 19.9,40 38.4,30.7 35.3,29 "})))),a.accordion=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-accordion",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("rect",{id:"XMLID_1_",x:"1.2",y:"6.8",width:"17.6",height:"12.6"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"1.2",y:"3.6",width:"17.6",height:"2"}),wp.element.createElement("rect",{id:"XMLID_3_",x:"1.2",y:"0.6",width:"17.6",height:"2"}))),a.price=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-price",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_27_",d:"M5.3,12.6c0.8,0,1.6,0,2.3,0c0.1,0.8,0.7,1.2,1.4,1.4c0.8,0.2,1.6,0.2,2.3-0.2c0.6-0.3,0.9-0.8,0.8-1.4 c-0.1-0.5-0.4-0.7-0.8-0.9c-0.6-0.2-1.2-0.3-1.8-0.5c-0.7-0.2-1.4-0.3-2-0.6c-1.5-0.6-2.2-1.8-2-3.4c0.2-1.4,1-2.3,2.3-2.8 C8.2,4.2,8.6,4.1,9,4c0-0.7,0-1.4,0-2.2c0.7,0,1.4,0,2,0c0,0.7,0,1.4,0,2.2c1.2,0.2,2.2,0.7,2.9,1.7c0.4,0.5,0.5,1.1,0.6,1.7 c-0.8,0-1.5,0-2.3,0c-0.1-0.4-0.3-0.8-0.7-1.1c-0.5-0.3-1-0.4-1.5-0.4C9.5,5.9,9,6,8.6,6.2C8.2,6.5,8,6.9,8,7.4 c0,0.5,0.3,0.8,0.7,1c0.5,0.3,1.1,0.4,1.7,0.5C11.2,9,12,9.1,12.7,9.4c1.5,0.6,2.1,1.8,1.9,3.4c-0.2,1.5-1.2,2.6-2.7,3 c-0.3,0.1-0.6,0.1-0.9,0.2c0,0.7,0,1.4,0,2.2c-0.7,0-1.4,0-2.1,0c0-0.7,0-1.4,0.1-2.1c-0.5-0.2-1-0.3-1.5-0.5 c-1.3-0.5-2.1-1.5-2.2-2.9C5.3,12.7,5.3,12.6,5.3,12.6z"}))),a.container=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("circle",{id:"XMLID_3_",cx:"10",cy:"9.9",r:"5.5"}),wp.element.createElement("g",{id:"XMLID_4_"},wp.element.createElement("rect",{id:"XMLID_5_",x:"8.9",y:"6.1",class:"st0",width:"2.2",height:"7.9"}),wp.element.createElement("rect",{id:"XMLID_6_",x:"6",y:"9",class:"st0",width:"7.9",height:"2.2"}))),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_8_",d:"M20,20H0V0H20V20z M1,19H19V1H1V19z"}))),a.contentbox=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-contentbox",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("circle",{id:"XMLID_1_",cx:"5.7",cy:"10",r:"3.8"}),wp.element.createElement("g",{id:"XMLID_3_"},wp.element.createElement("rect",{id:"XMLID_5_",x:"10.7",y:"10.6",width:"7.3",height:"2"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"10.7",y:"7.4",width:"7.3",height:"2"}))),wp.element.createElement("g",{id:"XMLID_7_"},wp.element.createElement("path",{id:"XMLID_4_",d:"M19.8,16.8H0.2V3.2h19.7V16.8z M0.9,16h18.2V4H0.9V16z"}))),a.userprofile=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-userprofile",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_3_",d:"M13.1,2.5c1.7,1.7,1.7,4.5,0,6.3s-4.5,1.7-6.3,0s-1.7-4.5,0-6.3C8.6,0.7,11.4,0.7,13.1,2.5"}),wp.element.createElement("path",{id:"XMLID_2_",d:"M16.8,13.2c-4-2.7-9.5-2.7-13.6,0c-0.6,0.4-1,1.1-1,1.8v3.8h15.5V15C17.7,14.3,17.4,13.6,16.8,13.2 L16.8,13.2z"}))),a.starrating=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-starrating",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("polygon",{id:"XMLID_6_",points:"17.4,8.2 12.3,7.5 10,2.8 7.7,7.5 2.6,8.2 6.3,11.8 5.4,16.9 10,14.5 14.6,16.9 13.7,11.8 "}),wp.element.createElement("polygon",{id:"XMLID_8_",class:"st0",points:"13.7,15.8 10,13.8 10,4.2 11.9,8 16,8.6 13,11.6 "}))),a.imagecarousel=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-imagecarousel",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_9_",d:"M16.4,16.4H3.6V3.6h12.7V16.4z M4.6,15.4h10.7V4.6H4.6V15.4z"})),wp.element.createElement("rect",{id:"XMLID_3_",x:"17.5",y:"4.1",width:"2.5",height:"11.7"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"0",y:"4.1",width:"2.5",height:"11.7"}),wp.element.createElement("g",{id:"XMLID_7_"},wp.element.createElement("polygon",{id:"XMLID_2_",points:"5.1,14 8.6,7.9 12.1,14 "}),wp.element.createElement("polygon",{id:"XMLID_6_",points:"10.4,14 12.6,10.1 14.9,14 "}),wp.element.createElement("circle",{id:"XMLID_5_",cx:"12.4",cy:"7.1",r:"1.4"}))),a.imageslider=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-imageslider",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("path",{id:"XMLID_9_",d:"M16.4,16.4H3.6V3.6h12.7V16.4z M4.6,15.4h10.7V4.6H4.6V15.4z"}),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("polygon",{id:"XMLID_5_",points:"5.1,14 8.6,7.9 12.1,14 "}),wp.element.createElement("polygon",{id:"XMLID_6_",points:"10.4,14 12.6,10.1 14.9,14 "}),wp.element.createElement("circle",{id:"XMLID_7_",cx:"12.4",cy:"7.1",r:"1.4"})),wp.element.createElement("path",{id:"XMLID_20_",d:"M1.1,10l1.5-0.9C2.7,9,2.7,8.9,2.7,8.7c0-0.1-0.1-0.3-0.2-0.4C2.4,8.2,2.2,8.2,2,8.3L0.1,9.5 C0,9.6,0,9.7,0,9.9v0.2c0,0.2,0,0.4,0.1,0.5L2,11.7c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.1-0.2,0.1-0.4 c0-0.2-0.1-0.3-0.2-0.4L1.1,10z"}),wp.element.createElement("path",{id:"XMLID_17_",d:"M19.9,9.5L18,8.3c-0.2-0.1-0.4-0.1-0.6,0.1c-0.1,0.1-0.1,0.2-0.1,0.4c0,0.2,0.1,0.3,0.2,0.4l1.5,0.9 l-1.5,0.9c-0.1,0.1-0.2,0.2-0.2,0.4c0,0.1,0.1,0.3,0.2,0.4c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1l1.8-1.1 c0.2-0.1,0.2-0.3,0.2-0.5V9.9C20,9.7,20,9.6,19.9,9.5z"})),a.postlist=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-postlist",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_5_",d:"M6.8,8.3H0.9V2h5.9V8.3z"})),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("rect",{id:"XMLID_3_",x:"8.7",y:"3.1",width:"8.5",height:"1.4"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"8.7",y:"5.8",width:"10.2",height:"1.4"})),wp.element.createElement("g",{id:"XMLID_14_"},wp.element.createElement("path",{id:"XMLID_15_",d:"M6.9,18.2H0.8v-6.6h6.1V18.2z"})),wp.element.createElement("g",{id:"XMLID_11_"},wp.element.createElement("rect",{id:"XMLID_13_",x:"8.7",y:"12.8",width:"8.5",height:"1.4"}),wp.element.createElement("rect",{id:"XMLID_12_",x:"8.7",y:"15.5",width:"10.2",height:"1.4"}))),a.postgrid=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-postgrid",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_5_"},wp.element.createElement("g",{id:"XMLID_14_"},wp.element.createElement("path",{id:"XMLID_15_",d:"M9,11.2H1V2.9h8V11.2z"})),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_3_",d:"M19,11.2h-8V2.9h8V11.2z"})),wp.element.createElement("rect",{id:"XMLID_1_",x:"1",y:"12.4",width:"7.2",height:"1.8"}),wp.element.createElement("rect",{id:"XMLID_6_",x:"1",y:"15.3",width:"8",height:"1.8"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"11",y:"12.4",width:"7.2",height:"1.8"}),wp.element.createElement("rect",{id:"XMLID_7_",x:"11",y:"15.3",width:"8",height:"1.8"}))),a.postcarousel=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-postcarousel",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("g",{id:"XMLID_14_"},wp.element.createElement("path",{id:"XMLID_15_",d:"M16,11.4H4V1.7H16V11.4z"})),wp.element.createElement("rect",{id:"XMLID_5_",x:"4",y:"12.8",width:"10.8",height:"2.1"}),wp.element.createElement("rect",{id:"XMLID_6_",x:"4",y:"16.2",width:"12.1",height:"2.1"})),wp.element.createElement("path",{id:"XMLID_20_",d:"M1.1,10l1.5-0.9C2.7,9,2.7,8.9,2.7,8.7c0-0.1-0.1-0.3-0.2-0.4C2.4,8.2,2.2,8.2,2,8.3L0.1,9.5 C0,9.6,0,9.7,0,9.9v0.2c0,0.2,0,0.4,0.1,0.5L2,11.7c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.1-0.2,0.1-0.4 c0-0.2-0.1-0.3-0.2-0.4L1.1,10z"}),wp.element.createElement("path",{id:"XMLID_2_",d:"M19.9,9.5L18,8.3c-0.2-0.1-0.4-0.1-0.6,0.1c-0.1,0.1-0.1,0.2-0.1,0.4c0,0.2,0.1,0.3,0.2,0.4l1.5,0.9l-1.5,0.9 c-0.1,0.1-0.2,0.2-0.2,0.4c0,0.1,0.1,0.3,0.2,0.4c0.1,0.1,0.2,0.1,0.3,0.1c0.1,0,0.2,0,0.3-0.1l1.8-1.1c0.2-0.1,0.2-0.3,0.2-0.5V9.9 C20,9.7,20,9.6,19.9,9.5z"})),a.iconblockspare=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-iconblockspare",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_23_",d:"M17.4,2c0.2,0,0.5,0,0.7,0c0.4,0,0.5,0.1,0.5,0.5c0,2.7-0.9,5-2.8,6.9c-0.8,0.8-1.7,1.5-2.5,2.3 c-0.1,0.1-0.2,0.3-0.2,0.4c-0.1,1.1-0.1,2.2-0.2,3.3c0,0.3-0.1,0.4-0.3,0.6c-1.2,0.7-2.5,1.4-3.7,2c-0.3,0.2-0.5,0.1-0.7-0.1 c-0.6-0.4-0.7-0.9-0.4-1.5c0.3-0.6,0.4-1.2,0.6-1.8c0.1-0.2,0-0.3-0.1-0.5c-0.8-0.8-1.7-1.6-2.5-2.4c-0.2-0.2-0.3-0.2-0.5-0.1 c-0.8,0.3-1.7,0.5-2.5,0.7c-0.3,0.1-0.4,0-0.6-0.2c-0.9-0.9-0.8-0.6-0.2-1.5c0.6-1,1.2-2,1.8-2.9C3.8,7.4,4,7.3,4.3,7.3 c1.2,0,2.3-0.1,3.5-0.2C8,7.1,8.2,7,8.3,6.9c1-1,2-2,3.1-2.9C13,2.7,14.9,2.1,17,2C17.1,2,17.3,2,17.4,2C17.4,2,17.4,2,17.4,2z M15.2,6.1c0.6,0,1-0.4,1-0.9c0-0.5-0.5-1-1-1c-0.5,0-1,0.4-1,1C14.2,5.6,14.7,6.1,15.2,6.1z"}))),a.iconlist=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-iconlist",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_16_",d:"M2.4,3.3c0.7-0.7,1.3-1.3,2-2c0.1-0.1,0.1-0.1,0.2-0.2C4.8,1,5.1,1,5.3,1.1c0.2,0.2,0.2,0.4,0,0.6 c0,0-0.1,0.1-0.1,0.1C4.4,2.7,3.6,3.5,2.8,4.3C2.5,4.6,2.3,4.6,2,4.3C1.6,3.9,1.2,3.5,0.8,3.1C0.5,2.8,0.6,2.3,1,2.2 c0.2-0.1,0.4,0,0.5,0.2C1.8,2.7,2.1,3,2.4,3.3z"}),wp.element.createElement("rect",{id:"XMLID_1_",x:"6.4",y:"2.2",width:"13",height:"1.7"})),wp.element.createElement("g",{id:"XMLID_4_"},wp.element.createElement("path",{id:"XMLID_6_",d:"M2.4,10.6c0.7-0.7,1.3-1.3,2-2c0.1-0.1,0.1-0.1,0.2-0.2c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.4,0,0.6 c0,0-0.1,0.1-0.1,0.1c-0.8,0.8-1.6,1.6-2.4,2.4c-0.3,0.3-0.5,0.3-0.8,0c-0.4-0.4-0.8-0.8-1.2-1.2C0.5,10,0.6,9.6,1,9.5 c0.2-0.1,0.4,0,0.5,0.2C1.8,10,2.1,10.3,2.4,10.6z"}),wp.element.createElement("rect",{id:"XMLID_5_",x:"6.4",y:"9.5",width:"13",height:"1.7"})),wp.element.createElement("g",{id:"XMLID_7_"},wp.element.createElement("path",{id:"XMLID_9_",d:"M2.4,17.8c0.7-0.7,1.3-1.3,2-2c0.1-0.1,0.1-0.1,0.2-0.2c0.2-0.2,0.5-0.2,0.7,0c0.2,0.2,0.2,0.4,0,0.6 c0,0-0.1,0.1-0.1,0.1c-0.8,0.8-1.6,1.6-2.4,2.4c-0.3,0.3-0.5,0.3-0.8,0c-0.4-0.4-0.8-0.8-1.2-1.2c-0.3-0.3-0.2-0.7,0.2-0.8 c0.2-0.1,0.4,0,0.5,0.2C1.8,17.2,2.1,17.5,2.4,17.8z"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"6.4",y:"16.7",width:"13",height:"1.7"}))),a.button=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-button",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("path",{id:"XMLID_2_",class:"st0",d:"M18,9.5H2c-1.1,0-2-0.9-2-2v-2c0-1.1,0.9-2,2-2H18c1.1,0,2,0.9,2,2v2C20,8.6,19.1,9.5,18,9.5z"}),wp.element.createElement("g",{id:"XMLID_5_"},wp.element.createElement("path",{id:"XMLID_6_",class:"st1",d:"M12.8,20H9.7c-1,0-1.9-0.6-2.4-1.5L4.4,13l0.4-0.3c0.3-0.3,0.7-0.4,1.1-0.4 c0.4,0,0.8,0.2,1.1,0.6l0.5,0.6l0-6.2c0-0.6,0.5-1.2,1.1-1.2c0.6,0,1.1,0.5,1.1,1.2v3.2c0.2-0.2,0.5-0.4,0.8-0.4 c0.5,0,0.9,0.3,1.1,0.8c0.2-0.3,0.5-0.5,0.9-0.5c0.5,0,1,0.4,1.1,1c0.2-0.3,0.5-0.4,0.9-0.4h0c0.6,0,1.1,0.5,1.1,1.2l0,4.8 C15.6,18.7,14.4,20,12.8,20z M5.3,13.2l2.6,5c0.4,0.7,1.1,1.1,1.8,1.1h3.1c1.1,0,2.1-1,2.1-2.2l0-4.8c0-0.2-0.2-0.4-0.4-0.4h0 c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.3-0.3,0.6-0.6,0.6s-0.6-0.3-0.6-0.6v-1.1c0-0.2-0.2-0.4-0.4-0.4c-0.2,0-0.4,0.2-0.4,0.4v1.2 c0,0.3-0.3,0.6-0.6,0.6c-0.3,0-0.6-0.3-0.6-0.6v-1.5c0-0.2-0.2-0.4-0.4-0.4c-0.2,0-0.4,0.2-0.4,0.4V13c0,0.3-0.3,0.6-0.6,0.6 C9.3,13.6,9,13.4,9,13V7.3c0-0.2-0.2-0.4-0.4-0.4S8.3,7.1,8.3,7.3l0,6.6c0,0.3-0.2,0.5-0.4,0.6c-0.2,0.1-0.5,0-0.7-0.2l-0.8-1 C6.3,13.1,6.1,13,5.9,13C5.7,13,5.5,13,5.3,13.2z"})),wp.element.createElement("g",{id:"XMLID_4_"},wp.element.createElement("path",{id:"XMLID_3_",class:"st0",d:"M14.5,11.4L14.5,11.4c-0.4,0-0.8,0.3-0.8,0.8v0.6c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2 v-1.1c0-0.4-0.3-0.8-0.7-0.8c-0.4,0-0.7,0.4-0.7,0.8v1.2c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2v-1.5c0-0.4-0.3-0.8-0.7-0.8 h0c-0.4,0-0.7,0.3-0.7,0.8V13c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2v-1.7c0,0,0,0,0,0c0,0,0,0,0,0v-4 c0-0.4-0.3-0.8-0.7-0.8c-0.4,0-0.7,0.4-0.7,0.8l0,6.6c0,0.1-0.1,0.2-0.1,0.2c-0.1,0-0.2,0-0.2-0.1l-0.8-1c-0.2-0.3-0.5-0.4-0.8-0.4 c-0.3,0-0.6,0.1-0.9,0.3c0,0,0,0,0,0l-0.2,0.1l2.7,5.2c0.4,0.8,1.2,1.3,2.1,1.3h3.1c1.3,0,2.4-1.2,2.4-2.6c0-0.8,0-1.3,0-1.8 c0-1.2,0-1.7,0-3C15.2,11.7,14.9,11.4,14.5,11.4z"}))),a.cta=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-cta",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_17_"},wp.element.createElement("rect",{id:"XMLID_15_",x:"14.6",y:"4.1",transform:"matrix(0.7071 -0.7071 0.7071 0.7071 1.7696 13.5544)",class:"st0",width:"5.3",height:"1.2"}),wp.element.createElement("rect",{id:"XMLID_14_",x:"16.4",y:"8.1",class:"st0",width:"3.5",height:"1.2"}),wp.element.createElement("rect",{id:"XMLID_13_",x:"14.6",y:"12.6",transform:"matrix(0.7071 0.7071 -0.7071 0.7071 14.3689 -8.3364)",class:"st0",width:"5.3",height:"1.2"}),wp.element.createElement("g",{id:"XMLID_16_"},wp.element.createElement("path",{id:"XMLID_1_",class:"st0",d:"M2.6,11.8H0.8c-0.4,0-0.7-0.3-0.7-0.7V7c0-0.4,0.3-0.7,0.7-0.7h1.8C3,6.3,3.3,6.6,3.3,7v4.2 C3.3,11.5,3,11.8,2.6,11.8z"}),wp.element.createElement("polygon",{id:"XMLID_24_",class:"st0",points:"7.3,12.8 4,12.2 4,6 7.3,5.4 "}),wp.element.createElement("polygon",{id:"XMLID_28_",class:"st0",points:"3.9,12.8 7.2,13.5 7.2,17.6 3.9,17.6 "}),wp.element.createElement("polygon",{id:"XMLID_26_",class:"st0",points:"13.3,14.2 8.1,12.8 8.1,5.2 13.3,3.8 "}),wp.element.createElement("circle",{id:"XMLID_25_",class:"st0",cx:"13.9",cy:"8.7",r:"1.8"})))),a.masonry=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-masonry",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("rect",{id:"XMLID_1_",x:"1.2",y:"11.2",class:"st0",width:"8.2",height:"7.6"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"1.2",y:"1.2",class:"st0",width:"8.2",height:"8.7"}),wp.element.createElement("rect",{id:"XMLID_3_",x:"10.6",y:"1.2",class:"st0",width:"8.2",height:"5"}),wp.element.createElement("rect",{id:"XMLID_5_",x:"10.6",y:"7.7",class:"st0",width:"8.2",height:"11.1"})),a.logobadge=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-logobadge",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("path",{id:"XMLID_16_",d:"M3.1,2.8c0.3-0.1,0.5-0.2,0.8-0.3c0.8-0.3,1.6-0.6,2.5-0.8c0,0,0.1,0,0.2,0C7,1.9,7.5,2.1,8,2.3 c0.1,0,0.1,0,0.2,0C8.8,2,9.4,1.7,9.9,1.5c0.1,0,0.1,0,0.2,0c0.6,0.3,1.1,0.5,1.7,0.8c0.1,0,0.1,0,0.2,0c0.5-0.2,1-0.4,1.6-0.6 c0,0,0.1,0,0.1,0c1.1,0.4,2.1,0.7,3.2,1.1c0,0,0.1,0,0.1,0c-0.1,0.4-0.3,0.7-0.4,1.1c-0.2,0.8-0.4,1.6-0.3,2.4c0,0.5,0.1,1,0.2,1.5 c0.2,1,0.4,2.1,0.6,3.1c0.1,0.7,0.2,1.3,0.2,2c0,0.3,0,0.5-0.1,0.8c0,0.4-0.2,0.7-0.5,1c-0.4,0.5-1,0.9-1.5,1.3 c-0.8,0.5-1.7,0.9-2.6,1.3c-0.9,0.4-1.7,0.8-2.5,1.4c0,0-0.1,0.1-0.1,0C9,17.9,8.1,17.4,7,17c-0.8-0.4-1.7-0.8-2.4-1.2 c-0.5-0.3-0.9-0.7-1.3-1.1c-0.4-0.4-0.5-0.9-0.6-1.4c0-0.7,0-1.3,0.1-2C3,10,3.3,8.8,3.6,7.6C3.7,7,3.8,6.4,3.8,5.8 C3.8,4.8,3.5,3.8,3.1,2.8C3.1,2.8,3.1,2.8,3.1,2.8z"})),a.notice=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg",fill:"#8B249C",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_4_"}),wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_3_",className:"st0",d:"M10,20C4.5,20,0,15.5,0,10C0,4.5,4.5,0,10,0c5.5,0,10,4.5,10,10C20,15.5,15.5,20,10,20z M10,1 C5,1,1,5,1,10s4.1,9,9,9s9-4.1,9-9S15,1,10,1z"})),wp.element.createElement("path",{id:"XMLID_10_",className:"st0",d:"M11.7,4.4C11.7,5.3,11,6,10,6C9,6,8.3,5.3,8.3,4.4C8.3,3.5,9,2.7,10,2.7 C11,2.7,11.7,3.5,11.7,4.4z"}),wp.element.createElement("rect",{id:"XMLID_9_",x:"8.8",y:"7.1",className:"st0",width:"2.5",height:"9.6"})),a.progressBar=wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#8B249C",className:"blockspare-svg"},wp.element.createElement("g",{id:"XMLID_4_"}),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_5_",className:"st0",d:"M20,3.9H0V0h20V3.9z M0.5,3.4h19V0.5h-19V3.4z"})),wp.element.createElement("rect",{id:"XMLID_3_",x:"0.9",y:"0.9",className:"st0",width:"16.6",height:"2.1"})),wp.element.createElement("g",{id:"XMLID_9_"},wp.element.createElement("g",{id:"XMLID_11_"},wp.element.createElement("path",{id:"XMLID_12_",className:"st0",d:"M20,9.3H0V5.4h20V9.3z M0.5,8.8h19V5.9h-19V8.8z"})),wp.element.createElement("rect",{id:"XMLID_10_",x:"0.9",y:"6.3",className:"st0",width:"10.2",height:"2.1"})),wp.element.createElement("g",{id:"XMLID_15_"},wp.element.createElement("g",{id:"XMLID_17_"},wp.element.createElement("path",{id:"XMLID_18_",className:"st0",d:"M20,14.6H0v-3.9h20V14.6z M0.5,14.1h19v-2.9h-19V14.1z"})),wp.element.createElement("rect",{id:"XMLID_16_",x:"0.9",y:"11.6",className:"st0",width:"14.4",height:"2.1"})),wp.element.createElement("g",{id:"XMLID_21_"},wp.element.createElement("g",{id:"XMLID_23_"},wp.element.createElement("path",{id:"XMLID_24_",className:"st0",d:"M20,20H0v-3.9h20V20z M0.5,19.5h19v-2.9h-19V19.5z"})),wp.element.createElement("rect",{id:"XMLID_22_",x:"0.9",y:"17",className:"st0",width:"16.6",height:"2.1"}))),a.pricingTable=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-pricing-table",xmlns:"http://www.w3.org/2000/svg",viewBox:"-469 271 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_34_",class:"st0",d:"M-455.6,291h-6.8v-20h6.8V291z"})),wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_31_",class:"st0",d:"M-462.8,289h-5.9V273h5.9V289z"})),wp.element.createElement("g",{id:"XMLID_3_"},wp.element.createElement("path",{id:"XMLID_28_",class:"st0",d:"M-449.3,289h-5.9V273h5.9V289z"})),wp.element.createElement("path",{id:"XMLID_25_",class:"st1",d:"M-464.4,287.5h-2.7c-0.3,0-0.5-0.2-0.5-0.5l0,0c0-0.3,0.2-0.5,0.5-0.5h2.7 c0.3,0,0.5,0.2,0.5,0.5l0,0C-463.9,287.3-464.1,287.5-464.4,287.5z"}),wp.element.createElement("path",{id:"XMLID_26_",class:"st1",d:"M-457.7,287.5h-2.6c-0.3,0-0.5-0.2-0.5-0.5l0,0c0-0.3,0.2-0.5,0.5-0.5h2.7 c0.3,0,0.5,0.2,0.5,0.5l0,0C-457.1,287.3-457.4,287.5-457.7,287.5z"}),wp.element.createElement("path",{id:"XMLID_27_",class:"st1",d:"M-451,287.5h-2.7c-0.3,0-0.5-0.2-0.5-0.5l0,0c0-0.3,0.2-0.5,0.5-0.5h2.7c0.3,0,0.5,0.2,0.5,0.5 l0,0C-450.4,287.3-450.7,287.5-451,287.5z"}),wp.element.createElement("g",null,wp.element.createElement("path",{class:"st1",d:"M-466.1,283.3v-1c-0.6,0-1.2-0.2-1.5-0.4l0.2-0.7c0.4,0.2,0.9,0.4,1.4,0.4c0.7,0,1.2-0.4,1.2-1 c0-0.5-0.4-0.9-1.1-1.2c-1-0.4-1.6-0.9-1.6-1.7c0-0.8,0.6-1.4,1.5-1.6v-1h0.6v1c0.6,0,1,0.2,1.3,0.3l-0.2,0.7 c-0.2-0.1-0.6-0.3-1.2-0.3c-0.8,0-1,0.5-1,0.9c0,0.5,0.4,0.8,1.2,1.1c1,0.4,1.5,0.9,1.5,1.8c0,0.8-0.5,1.5-1.6,1.7v1H-466.1z"})),wp.element.createElement("g",null,wp.element.createElement("path",{class:"st1",d:"M-459.3,282.3v-1c-0.6,0-1.2-0.2-1.5-0.4l0.2-0.7c0.4,0.2,0.9,0.4,1.4,0.4c0.7,0,1.2-0.4,1.2-1 c0-0.5-0.4-0.9-1.1-1.2c-1-0.4-1.6-0.9-1.6-1.7c0-0.8,0.6-1.4,1.5-1.6v-1h0.6v1c0.6,0,1,0.2,1.3,0.3l-0.2,0.7 c-0.2-0.1-0.6-0.3-1.2-0.3c-0.8,0-1,0.5-1,0.9c0,0.5,0.4,0.8,1.2,1.1c1,0.4,1.5,0.9,1.5,1.8c0,0.8-0.5,1.5-1.6,1.7v1H-459.3z"})),wp.element.createElement("g",null,wp.element.createElement("path",{class:"st1",d:"M-452.6,283.3v-1c-0.6,0-1.2-0.2-1.5-0.4l0.2-0.7c0.4,0.2,0.9,0.4,1.4,0.4c0.7,0,1.2-0.4,1.2-1 c0-0.5-0.4-0.9-1.1-1.2c-1-0.4-1.6-0.9-1.6-1.7c0-0.8,0.6-1.4,1.5-1.6v-1h0.6v1c0.6,0,1,0.2,1.3,0.3l-0.2,0.7 c-0.2-0.1-0.6-0.3-1.2-0.3c-0.8,0-1,0.5-1,0.9c0,0.5,0.4,0.8,1.2,1.1c1,0.4,1.5,0.9,1.5,1.8c0,0.8-0.5,1.5-1.6,1.7v1H-452.6z"}))),a.pricingList=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("circle",{cx:"3.3",cy:"2.6",r:"2.6"}),wp.element.createElement("rect",{x:"7.1",y:"1.4",className:"st0",width:"9.8",height:"0.8"}),wp.element.createElement("rect",{x:"17.7",y:"1.4",className:"st0",width:"2.3",height:"0.8"}),wp.element.createElement("rect",{x:"7.1",y:"3.1",className:"st0",width:"12.9",height:"0.8"}),wp.element.createElement("circle",{className:"st0",cx:"3.3",cy:"9.7",r:"2.6"}),wp.element.createElement("rect",{x:"7.1",y:"8.9",className:"st0",width:"9.8",height:"0.8"}),wp.element.createElement("rect",{x:"17.7",y:"8.9",className:"st0",width:"2.3",height:"0.8"}),wp.element.createElement("rect",{x:"7.1",y:"10.5",className:"st0",width:"12.9",height:"0.8"}),wp.element.createElement("circle",{className:"st0",cx:"3.3",cy:"17.4",r:"2.6"}),wp.element.createElement("rect",{x:"7.1",y:"16.3",className:"st0",width:"9.8",height:"0.8"}),wp.element.createElement("rect",{x:"17.7",y:"16.3",className:"st0",width:"2.3",height:"0.8"}),wp.element.createElement("rect",{x:"7.1",y:"17.9",className:"st0",width:"12.9",height:"0.8"})),a.socialShare=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("path",{id:"XMLID_7_",class:"st0",d:"M16,12.8c-0.9,0-1.8,0.4-2.3,1l-6.4-3.7c0-0.1,0-0.1,0-0.2c0-0.1,0-0.2,0-0.3l6.3-3.6 C14.1,6.8,15,7.3,16,7.3c1.7,0,3.2-1.4,3.2-3.2C19.1,2.4,17.7,1,16,1s-3.2,1.4-3.2,3.2c0,0.3,0,0.5,0.1,0.8L6.7,8.4 C6.2,7.5,5.2,6.8,4.1,6.8c-1.7,0-3.2,1.4-3.2,3.2c0,1.7,1.4,3.2,3.2,3.2c1.2,0,2.2-0.7,2.7-1.6L13,15c-0.1,0.3-0.2,0.6-0.2,0.9 c0,1.7,1.4,3.2,3.2,3.2s3.2-1.4,3.2-3.2C19.1,14.2,17.7,12.8,16,12.8z"})),a.sociallinks=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg blockspare-svg-sociallinks",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B"},wp.element.createElement("rect",{id:"XMLID_1_",x:"0.5",y:"0.5",width:"9",height:"9"}),wp.element.createElement("rect",{id:"XMLID_10_",x:"10.5",y:"0.5",width:"9",height:"9"}),wp.element.createElement("rect",{id:"XMLID_12_",x:"0.5",y:"10.5",width:"9",height:"9"}),wp.element.createElement("rect",{id:"XMLID_11_",x:"10.5",y:"10.5",width:"9",height:"9"}),wp.element.createElement("g",{id:"XMLID_7_"},wp.element.createElement("path",{id:"XMLID_70_",class:"st0",d:"M11.2,15.1c0-0.6,0-1.1,0-1.5c0-0.4,0-0.7,0.2-1c0.2-0.6,0.7-1,1.3-1.2 c0.2-0.1,0.5-0.1,0.8-0.1c1,0,2,0,2.9,0c0.3,0,0.7,0,1,0.1c0.6,0.2,1,0.6,1.2,1.2c0.1,0.3,0.2,0.5,0.2,0.8c0,0.4,0,0.8,0,1.3 c0,0.6,0,1.1,0,1.7c0,0.3,0,0.6-0.1,1c-0.2,0.7-0.7,1.2-1.4,1.4c-0.2,0.1-0.5,0.1-0.7,0.1c-1,0-1.9,0-2.9,0c-0.3,0-0.7,0-1-0.1 c-0.7-0.2-1.1-0.7-1.3-1.4c-0.1-0.2-0.1-0.5-0.1-0.7C11.2,16,11.2,15.5,11.2,15.1z M18.1,15C18.1,15,18.1,15,18.1,15 c0-0.3,0-0.7,0-1c0-0.3,0-0.7-0.1-1c-0.1-0.3-0.2-0.5-0.4-0.7c-0.2-0.2-0.4-0.3-0.7-0.3c-0.4-0.1-0.8-0.1-1.1-0.1 c-0.6,0-1.1,0-1.7,0c-0.3,0-0.7,0-1,0.1c-0.3,0.1-0.5,0.2-0.7,0.4C12.1,12.5,12,12.8,12,13c-0.1,0.4-0.1,0.7-0.1,1.1 c0,0.6,0,1.2,0,1.8c0,0.4,0,0.7,0.1,1.1c0.1,0.3,0.2,0.5,0.4,0.7c0.2,0.2,0.5,0.3,0.7,0.3c0.4,0.1,0.7,0.1,1.1,0.1 c0.6,0,1.2,0,1.7,0c0.3,0,0.7,0,1-0.1c0.3-0.1,0.5-0.2,0.7-0.4c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3,0.1-0.6,0.1-0.9 C18.1,15.7,18.1,15.4,18.1,15z"}),wp.element.createElement("path",{id:"XMLID_63_",class:"st0",d:"M16.9,15c0,1-0.8,2-2,2c-1,0-2-0.8-2-2c0-1,0.8-1.9,2-2C16.1,13,17,14,16.9,15z M15,13.7 c-0.7,0-1.3,0.6-1.3,1.3c0,0.7,0.6,1.3,1.3,1.3c0.7,0,1.3-0.6,1.3-1.3C16.3,14.3,15.7,13.7,15,13.7z"}),wp.element.createElement("path",{id:"XMLID_62_",class:"st0",d:"M17.5,13c0,0.2-0.2,0.5-0.5,0.5c-0.2,0-0.5-0.2-0.5-0.5c0-0.2,0.2-0.5,0.5-0.4 C17.3,12.5,17.5,12.7,17.5,13z"})),wp.element.createElement("g",{id:"XMLID_4_"},wp.element.createElement("path",{id:"XMLID_35_",class:"st0",d:"M13.5,6.7c-0.8,0-1.3-0.6-1.5-1.1c0.2,0,0.5,0,0.7,0c-0.4-0.1-0.7-0.3-0.9-0.6 c-0.2-0.3-0.3-0.6-0.3-1c0.1,0,0.2,0.1,0.3,0.1c0.1,0,0.2,0.1,0.4,0.1C11.8,4,11.5,3.6,11.5,3c0-0.3,0.1-0.6,0.2-0.9 c0.8,1,1.9,1.5,3.2,1.6c0-0.1,0-0.1,0-0.2c0-0.6,0.2-1,0.6-1.4c0.6-0.5,1.5-0.4,2.1,0.1c0,0,0,0,0.1,0C18,2.3,18.3,2.2,18.6,2 c0,0,0,0,0,0c-0.1,0.2-0.1,0.3-0.3,0.5c-0.1,0.1-0.3,0.3-0.4,0.4c0.3,0,0.6-0.1,0.9-0.2c0,0,0,0,0,0c-0.2,0.3-0.4,0.5-0.7,0.7 c0,0,0,0,0,0.1c0,0.7-0.1,1.4-0.4,2c-0.3,0.7-0.8,1.3-1.4,1.8c-0.5,0.3-1,0.6-1.6,0.7c-0.6,0.1-1.3,0.2-1.9,0 c-0.5-0.1-1-0.3-1.5-0.6c0,0,0,0,0,0c0.6,0.1,1.2,0,1.8-0.3C13.2,7,13.3,6.9,13.5,6.7z"})),wp.element.createElement("g",{id:"XMLID_3_"},wp.element.createElement("path",{id:"XMLID_37_",class:"st0",d:"M4.2,5.3c-0.4,0-0.8,0-1.2,0C3,4.9,3,4.4,3,4c0.4,0,0.8,0,1.2,0c0,0,0,0,0-0.1 c0-0.4,0-0.7,0-1.1c0-0.4,0.1-0.7,0.3-1C4.7,1.4,5,1.3,5.4,1.2c0.2-0.1,0.5-0.1,0.7-0.1c0.3,0,0.6,0,0.9,0c0,0,0,0,0,0 C7,1.6,7,2,7,2.4c0,0,0,0,0,0c0,0,0,0-0.1,0c-0.3,0-0.5,0-0.8,0c-0.1,0-0.1,0-0.2,0C5.8,2.5,5.6,2.6,5.6,2.9c0,0.1,0,0.2,0,0.3 c0,0.2,0,0.5,0,0.7c0,0,0,0,0,0.1c0.5,0,0.9,0,1.4,0C6.9,4.4,6.8,4.9,6.8,5.3c-0.4,0-0.8,0-1.2,0c0,1.2,0,2.4,0,3.6 c-0.5,0-1,0-1.4,0C4.2,7.7,4.2,6.5,4.2,5.3z"})),wp.element.createElement("g",{id:"XMLID_5_"},wp.element.createElement("path",{id:"XMLID_33_",class:"st0",d:"M8.6,18.6C8.6,18.6,8.6,18.6,8.6,18.6c-0.5,0-1,0-1.4,0c0,0,0,0,0,0c0,0,0,0,0,0 c0-0.8,0-1.6,0-2.4c0-0.2,0-0.4,0-0.6c0-0.1-0.1-0.2-0.1-0.3C6.8,15.1,6.7,15,6.5,15c-0.2,0-0.3,0-0.5,0c-0.2,0.1-0.4,0.2-0.5,0.4 c-0.1,0.1-0.1,0.3-0.1,0.4c0,0.1,0,0.3,0,0.4c0,0.8,0,1.5,0,2.3c0,0,0,0,0,0c-0.5,0-1,0-1.5,0c0-1.6,0-3.2,0-4.8c0.5,0,0.9,0,1.4,0 c0,0.2,0,0.4,0,0.6c0,0,0,0,0,0c0,0,0,0,0,0C5.6,14.2,5.8,14,6,13.8c0.2-0.1,0.5-0.2,0.8-0.2c0.3,0,0.5,0,0.7,0.1 c0.4,0.1,0.7,0.4,0.8,0.8c0.1,0.2,0.1,0.5,0.1,0.7c0,0.1,0,0.3,0,0.4c0,0,0,0,0,0C8.6,16.7,8.6,17.6,8.6,18.6z"}),wp.element.createElement("path",{id:"XMLID_32_",class:"st0",d:"M2.3,11.4c0,0,0.1,0,0.1,0c0.4,0.1,0.7,0.4,0.7,0.8c0,0.4-0.3,0.8-0.7,0.8 c-0.5,0.1-0.9-0.2-1-0.7c0,0,0,0,0-0.1c0,0,0-0.1,0-0.1c0,0,0,0,0,0c0-0.3,0.3-0.6,0.6-0.7c0.1,0,0.1,0,0.2,0 C2.2,11.4,2.3,11.4,2.3,11.4z"}),wp.element.createElement("path",{id:"XMLID_30_",class:"st0",d:"M3,18.6c-0.5,0-1,0-1.5,0c0-1.6,0-3.2,0-4.8c0.5,0,1,0,1.5,0C3,15.4,3,17,3,18.6z"}))),a.tabs=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-tabs",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("rect",{id:"XMLID_1_",x:"1.2",y:"4.9",width:"17.6",height:"14"}),wp.element.createElement("rect",{id:"XMLID_4_",x:"1.2",y:"1.3",width:"8.2",height:"3.6"}),wp.element.createElement("rect",{id:"XMLID_3_",x:"10.6",y:"1.3",width:"8.2",height:"2.5"}))),a.shapediviver=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-shape-diviver",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("path",{id:"XMLID_6_",d:"M20,20H0V0h20V20z M1,19h18V1H1V19z"}),wp.element.createElement("path",{id:"XMLID_10_",d:"M0,10.8c0,0,6.3-3.3,10.6,1.1c5.3,5.5,9.4-2,9.4-2V20L0,20V10.8z"})),a.counter=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-shape-counter",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("rect",{id:"XMLID_4_",x:"1.3",y:"1",width:"8",height:"18"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"10.7",y:"1",width:"8",height:"18"}),wp.element.createElement("g",{id:"XMLID_23_"},wp.element.createElement("path",{id:"XMLID_25_",class:"st0",d:"M8.4,10c0,0.7-0.1,1.3-0.2,1.8c-0.1,0.5-0.3,1-0.5,1.3c-0.2,0.3-0.6,0.6-1,0.8 c-0.4,0.2-0.9,0.3-1.4,0.3c-0.6,0-1-0.1-1.4-0.3c-0.4-0.2-0.7-0.4-1-0.8c-0.2-0.4-0.4-0.8-0.5-1.3c-0.1-0.5-0.2-1.1-0.2-1.8 c0-0.7,0.1-1.3,0.2-1.8c0.1-0.5,0.3-0.9,0.5-1.3c0.3-0.4,0.6-0.6,1-0.8c0.4-0.2,0.9-0.3,1.4-0.3c0.6,0,1.1,0.1,1.5,0.3 s0.7,0.5,1,0.8C8,7.2,8.2,7.7,8.3,8.2C8.4,8.7,8.4,9.3,8.4,10z M6.4,10c0-1-0.1-1.7-0.2-2.1C6,7.5,5.7,7.3,5.3,7.3 c-0.4,0-0.7,0.2-0.8,0.6C4.3,8.3,4.3,9,4.3,10c0,1,0.1,1.7,0.2,2.1c0.2,0.4,0.4,0.6,0.8,0.6s0.7-0.2,0.8-0.6 C6.3,11.7,6.4,11,6.4,10z"})),wp.element.createElement("g",{id:"XMLID_3_"},wp.element.createElement("path",{id:"XMLID_9_",class:"st0",d:"M17.6,7.6L14.2,14H12l3.6-6.5h-3.8V6h5.9V7.6z"})),wp.element.createElement("path",{id:"XMLID_26_",class:"st0",d:"M15.1,2.1c-0.2,0.4-0.4,0.5-0.8,0.5c-0.4,0-0.6-0.1-0.8-0.5C13.4,1.9,13.3,1,13.3,1h-1.9 c0,0,0.1,0.6,0.1,0.9c0.1,0.5,0.3,0.8,0.5,1.2c0.2,0.3,0.5,0.6,0.9,0.7C13.3,3.9,13.8,4,14.3,4c0.5,0,1-0.1,1.4-0.3 C16,3.6,16.3,3.3,16.5,3c0.2-0.3,0.4-0.6,0.5-1.1C17.1,1.6,17.1,1,17.2,1h-1.9C15.2,1,15.2,1.9,15.1,2.1z"})),a.testimonial=wp.element.createElement("svg",{className:"blockspare-svg blockspare-svg-testimonial",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("g",{id:"XMLID_1_"},wp.element.createElement("path",{id:"XMLID_2_",class:"st0",d:"M17.5,14.1H2.5c-1.3,0-2.3-1-2.3-2.3V6.3C0.2,5,1.3,4,2.5,4h14.9c1.3,0,2.3,1,2.3,2.3v5.6 C19.8,13.1,18.7,14.1,17.5,14.1z"}),wp.element.createElement("polygon",{id:"XMLID_3_",class:"st0",points:"1.8,13 4.1,17 6.4,13 "}))),a.upload=wp.element.createElement("svg",{width:"50px",height:"50px",viewBox:"0 0 20 20",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M17.9,4c-1,0-2,0-3,0c-0.2,0-0.3,0-0.3-0.3c-0.1-0.9-1-1.5-1.8-1.5c-1.9,0-3.8,0-5.7,0 c-0.8,0-1.6,0.6-1.7,1.5C5.4,3.9,5.3,4,5,4c-1,0-1.9,0-2.9,0C1.1,4,0.1,5,0.1,6c0,3.2,0,6.5,0,9.7c0,0.2,0.1,0.5,0.2,0.7 c0.4,0.9,1.2,1.4,2.2,1.4c2.5,0,5.1,0,7.6,0c2.5,0,4.9,0,7.4,0c0.3,0,0.5,0,0.8-0.1c0.9-0.2,1.7-1.1,1.8-2c0-3.3,0-6.5,0-9.8 C19.9,5,18.9,4,17.9,4z M19,15.3c0,0.4-0.1,0.9-0.5,1.2c-0.3,0.3-0.7,0.3-1.1,0.3c-2.5,0-4.9,0-7.4,0c-2.5,0-4.9,0-7.4,0 c-0.4,0-0.9,0-1.2-0.4c-0.2-0.2-0.4-0.5-0.4-0.9c0-3.1,0-6.3,0-9.4C1.1,5.5,1.6,5,2.3,5c1.1,0,2.3,0,3.4,0c0.6,0,0.8-0.2,0.8-0.8 c0,0,0-0.1,0-0.1C6.4,3.3,6.8,3.1,7.3,3.1c1.8,0,3.8,0,5.6,0c0.6,0,1.1,0.3,1.1,1c0,0.1,0,0.1,0,0.2C14,4.8,14,5,14.5,5 c1.1,0,2.1,0,3.2,0c0.9,0,1.4,0.5,1.4,1.5C19.1,9.4,19,12.3,19,15.3z"}),wp.element.createElement("path",{d:"M10,6.2c-2.6,0-4.7,2.1-4.7,4.6c0,2.6,2.1,4.7,4.6,4.7c2.6,0,4.7-2.1,4.7-4.6C14.7,8.3,12.6,6.2,10,6.2z M10,14.5c-1.9,0-3.6-1.4-3.6-3.6c0-2,1.6-3.6,3.6-3.6c2,0,3.6,1.5,3.6,3.7C13.6,13,12,14.5,10,14.5z"}),wp.element.createElement("path",{d:"M16.7,6.2c-0.5,0-0.9,0.4-0.9,0.9c0,0.5,0.4,0.9,0.9,0.9c0.5,0,0.9-0.5,0.9-0.9C17.7,6.6,17.2,6.2,16.7,6.2 z"})),a.sectionHeader=wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"#3C1A5B",className:"blockspare-svg"},wp.element.createElement("g",{id:"XMLID_2_"},wp.element.createElement("path",{id:"XMLID_3_",d:"M17,2.2v15.6h-4.3v-6.3H7.4v6.3H3V2.2h4.3V8h5.3V2.2H17z"}))),a.services=wp.element.createElement("svg",{width:"20px",height:"20px",className:"blockspare-svg blockspare-svg-services",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},wp.element.createElement("circle",{id:"XMLID_1_",cx:"4.5",cy:"5",r:"3.4"}),wp.element.createElement("circle",{id:"XMLID_9_",cx:"15.5",cy:"5",r:"3.4"}),wp.element.createElement("rect",{id:"XMLID_2_",y:"10",width:"9",height:"1.7"}),wp.element.createElement("rect",{id:"XMLID_8_",x:"11",y:"9.8",width:"9",height:"1.7"}),wp.element.createElement("rect",{id:"XMLID_4_",y:"13.3",width:"9",height:"6.7"}),wp.element.createElement("rect",{id:"XMLID_7_",x:"11",y:"13.1",width:"9",height:"6.9"})),a.emptySpaces=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{className:"cls-1",x:"1.5",y:"1.5",width:"13",height:"13"})),a.layouts=wp.element.createElement("svg",{version:"1.1",className:"blockspare-svg",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{fill:"#333333",d:"M0.4,15.1V0.7c0-0.2,0.1-0.3,0.3-0.3h8.8c0.2,0,0.3,0.1,0.3,0.3v14.4c0,0.2-0.1,0.3-0.3,0.3H0.7 C0.6,15.4,0.4,15.3,0.4,15.1z"}),wp.element.createElement("path",{fill:"#333333",d:"M10.2,7.2V0.7c0-0.2,0.1-0.3,0.3-0.3h8.8c0.2,0,0.3,0.1,0.3,0.3v6.5c0,0.2-0.1,0.3-0.3,0.3h-8.8 C10.3,7.5,10.2,7.3,10.2,7.2z"}),wp.element.createElement("path",{fill:"#333333",d:"M10.3,15.1V8.2c0-0.2,0.1-0.3,0.3-0.3h3.8c0.2,0,0.3,0.1,0.3,0.3v6.9c0,0.2-0.1,0.3-0.3,0.3h-3.8 C10.4,15.4,10.3,15.3,10.3,15.1z"}),wp.element.createElement("path",{fill:"#333333",d:"M0.8,15.8h18.4c0.2,0,0.3,0.1,0.3,0.3v3.3c0,0.2-0.1,0.3-0.3,0.3H0.8c-0.2,0-0.3-0.1-0.3-0.3 v-3.3C0.5,15.9,0.7,15.8,0.8,15.8z"}),wp.element.createElement("path",{fill:"#333333",d:"M15.2,15.1V8.2c0-0.2,0.1-0.3,0.3-0.3h3.7c0.2,0,0.3,0.1,0.3,0.3v6.9c0,0.2-0.1,0.3-0.3,0.3h-3.7 C15.3,15.4,15.2,15.3,15.2,15.1z"})),a.flipX=wp.element.createElement("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"m11 18h3v-2h-3zm3-12h2v-2h-2zm-14-2v12c0 1.1.9 2 2 2h3v-2h-3v-12h3v-2h-3c-1.1 0-2 .9-2 2zm14-2v2h2c0-1.1-.9-2-2-2zm-7 18h2v-20h-2zm7-4h2v-2h-2zm-3-12h3v-2h-3zm3 8h2v-4h-2zm0 6c1.1 0 2-.9 2-2h-2z",transform:"translate(2)"})),a.flipY=wp.element.createElement("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"m13 16h3v-2h-3zm3-12h2v-2h-2zm-14-2v12c0 1.1.9 2 2 2h3v-2h-3v-12h3v-2h-3c-1.1 0-2 .9-2 2zm14-2v2h2c0-1.1-.9-2-2-2zm-7 18h2v-20h-2zm7-4h2v-2h-2zm-3-12h3v-2h-3zm3 8h2v-4h-2zm0 6c1.1 0 2-.9 2-2h-2z",transform:"matrix(0 1 -1 0 18 0)"})),a.edit='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><Path d="m11 5.9125c-2.784375 0-5.01875 2.26875-5.01875 5.01875 0 2.784375 2.26875 5.01875 5.01875 5.01875 2.784375 0 5.01875-2.26875 5.01875-5.01875s-2.234375-5.01875-5.01875-5.01875zm.378125 6.325-1.134375 1.134375-1.134375-1.134375-1.1-1.1 1.134375-1.134375 1.1 1.1 2.6125-2.6125 1.134375 1.134375zm9.659375-2.715625c-.446875-.4125-.61875-1.065625-.378125-1.615625l.20625-.515625c.34375-.790625-.103125-1.684375-.928125-1.925l-.55-.1375c-.584375-.171875-.996875-.6875-1.03125-1.30625v-.584375c-.034375-.859375-.825-1.478125-1.65-1.340625l-.55.103125c-.61875.103125-1.203125-.171875-1.478125-.721875l-.275-.48125c-.4125-.75625-1.375-.9625-2.0625-.48125l-.446875.309375c-.48125.34375-1.16875.34375-1.65 0l-.446875-.34375c-.6875-.515625-1.684375-.275-2.096875.48125l-.275.48125c-.309375.55-.89375.825-1.5125.721875l-.55-.103125c-.859375-.1375-1.615625.48125-1.684375 1.340625l-.034375.55c-.034375.61875-.446875 1.134375-1.03125 1.30625l-.55.171875c-.825.240625-1.271875 1.134375-.928125 1.925l.20625.515625c.240625.55.06875 1.203125-.378125 1.615625l-.4125.378125c-.653125.55-.653125 1.58125 0 2.13125l.4125.378125c.446875.4125.61875 1.065625.378125 1.615625l-.20625.515625c-.34375.790625.103125 1.684375.928125 1.925l.55.1375c.584375.171875.996875.6875 1.03125 1.30625l.034375.55c.034375.859375.825 1.478125 1.65 1.340625l.55-.103125c.61875-.103125 1.203125.171875 1.478125.721875l.275.48125c.4125.75625 1.375.9625 2.0625.48125l.446875-.309375c.48125-.34375 1.16875-.34375 1.65 0l.446875.34375c.6875.515625 1.684375.275 2.096875-.48125l.275-.48125c.309375-.55.89375-.825 1.5125-.721875l.55.103125c.859375.1375 1.615625-.48125 1.684375-1.340625l.034375-.55c.034375-.61875.446875-1.134375 1.03125-1.30625l.55-.1375c.825-.240625 1.271875-1.134375.928125-1.925l-.20625-.515625c-.240625-.55-.06875-1.203125.378125-1.615625l.4125-.378125c.653125-.55.653125-1.58125 0-2.13125zm-10.0375 8.3875c-3.85 0-6.94375-3.128125-6.94375-6.94375 0-3.85 3.128125-6.94375 6.94375-6.94375 3.85 0 6.94375 3.128125 6.94375 6.94375s-3.09375 6.94375-6.94375 6.94375z" transform="translate(1 1)" /></svg>;',a.blockspare_placeholder=wp.element.createElement("svg",{viewBox:"0 0 384 384",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M203.3,384c-7.5,0-15,0-22.5,0c-7.9-1.1-15.8-1.9-23.7-3.3C78.7,366.6,16.4,303.8,3,225.4c-1.2-7.1-2-14.3-3-21.4 c0-8,0-16,0-24c0.2-1,0.6-1.9,0.6-2.9c1.4-18.8,5.7-36.9,12.4-54.5c0.6-1.5,0.6-3.3,0.9-4.7c1-1.5,2.3-2.9,3-4.5 C26,93.3,38,75.2,53.4,59.3C82.7,29,118.1,10.1,159.6,2.9c7.2-1.2,14.6-2,21.9-2.9c7.3,0,14.5,0,21.8,0c1,0.2,1.9,0.4,2.9,0.6 c12.3,2.1,25,2.8,36.8,6.5c75.8,23.3,122,74.1,138.1,151.9c1.4,6.9,2,14,3,21.1c0,8,0,16,0,24c-0.2,1-0.5,1.9-0.6,2.9 c-1.3,8.8-2.1,17.6-3.9,26.3c-15.7,75.1-78.8,135.5-154.4,147.9C217.8,382.3,210.5,383,203.3,384z M20.8,140.3 c-22.5,68.7,1.5,162.7,85.2,208.8c80.6,44.3,178.3,19.1,229.2-49.9c-3.4-3.2-6.6-6.7-10.2-9.8c-3.9-3.3-5.5-7-5.1-12.1 c0.4-5.5,0.2-11,0-16.5c-0.1-2-0.5-4.2-1.4-6.1c-5-10.2-9.6-20.6-15.4-30.4c-7-11.8-10.4-24.1-8.9-37.8c0.2-1.6-0.5-4.2-1.6-4.8 c-4.9-2.6-8.3-8.1-14.7-7.8c-0.5,0-1,0.2-1.5,0.3c-6.1,1.5-12.1,3.1-18.2,4.4c-1.7,0.4-3.8,0.4-5.4-0.3 c-14.6-6.1-29.2-12.3-43.7-18.8c-1.9-0.9-4.1-3.4-4.4-5.4c-2.4-14.4-4.2-28.9-6.3-43.4c-0.4-3,0.4-5.3,2.5-7.4 c5.9-5.8,11.6-11.8,17.6-17.4c1.6-1.5,4.1-2.6,6.2-2.6c12.1-0.2,24.2-0.1,36.4-0.1c3,0,5.2,1.2,6.9,3.7c3,4.6,6,9.2,9.2,13.7 c0.9,1.3,2.6,2.4,4.1,2.7c6,1.2,12,2.1,18.1,3.1c4.7,0.7,9.7,2.8,14,1.7c10.4-2.5,20.4-6.5,31.4-10.2c-6.7-8.9-13-17.3-19.3-25.8 c-5,3.4-9.3,6.4-13.8,9.1c-1.8,1.1-4.3,2-6.2,1.6c-15.8-3.2-31.8-5.3-46.9-11.2c-1.7-0.7-3.9-0.7-5.8-0.3 c-6.3,1.4-12.6,3.2-18.9,4.6c-2.1,0.5-4.5,0.6-6.6,0c-5.9-1.7-11.7-3.7-17.4-5.7c-5-1.7-6.4-5.3-4.1-10c3.9-8,7.9-15.8,11.8-23.8 c1.6-3.2,3.9-4.5,7.5-4.4c5.9,0.1,11.8-0.3,17.6,0.1c6.4,0.4,10.9-3.3,16.4-5.8c-27.7-15.5-93.9-17.9-122.5-4.2 c3.5,1.6,6.2,3.4,9.2,4c11,2.1,22.1,3.8,33.2,5.8c5.7,1,7.5,4.2,5.7,9.8c-1.8,5.6-3.7,11.1-5.5,16.7c-0.9,2.9-2.6,4.7-5.5,5.6 c-4.2,1.3-8.4,2.5-12.4,4.3c-2,0.9-4.1,2.3-5.3,4.1c-5.2,8.2-10,16.7-15.2,25c-1.3,2-3.1,3.9-5.2,5.2c-9.3,5.8-18.8,11.4-28.3,17 c-1.8,1-3.9,1.8-5.9,2.1c-11.5,1.8-23,3.5-34.5,5c-2.6,0.3-3.1,1.4-3.3,3.8c-0.5,5.4,0.8,9.7,5.3,13c1.7,1.2,3.4,2.8,4.5,4.5 c1.4,2.2,2.5,4.7,3,7.3c0.5,2.4,0.1,5,0.1,7.6c0.3,0.1,0.7,0.2,1,0.3c2.1-2.2,4.2-4.6,6.4-6.7c4.4-4.3,8.9-3.6,11.7,2 c3.1,6,6.1,12,9,18.1c1,2.1,2.2,2.8,4.6,2.8c11.9-0.1,23.7,0.1,35.6-0.1c4.1-0.1,6.7,1.5,8.8,5.1c4.6,8,9.6,15.8,14.1,23.8 c1.4,2.5,3.1,3.4,6,3.3c5.4-0.2,10.7-0.1,16.1-0.1c6.7,0,9,2.8,7.8,9.5c-0.8,4.4-2.3,8.8-2.6,13.2c-0.8,13.7-6.8,24.4-17.6,32.6 c-0.3,0.2-0.5,0.6-0.8,0.8c-8.7,6.2-12.3,14.4-10.5,25c0.6,3.6-1.1,6.2-4,8.3c-6.5,4.7-12.9,9.5-19.2,14.4c-1.2,1-2.2,3-2.2,4.6 c-0.2,8.2,0,16.5-0.1,24.7c-0.1,6-3.8,8.7-9.5,6.8c-5.6-1.8-11.1-3.7-16.7-5.5c-3-0.9-4.8-2.7-6-5.7c-3.7-9.5-7.6-19-11.3-28.5 c-0.8-2.2-1.3-4.6-1.3-6.9C96,287.3,96,269.9,96,252.6c0-1.3,0-2.7,0-4.1c-8.2-1.6-16-3.3-23.8-4.7c-4.2-0.7-7-2.5-8.8-6.5 c-2-4.7-4.2-9.4-6.9-13.7c-4.4-7.2-5.6-14.8-5.6-23.2c0-7.5,1.2-13.8,7.6-18.3c0.6-0.4,1-1.1,1.7-1.9c-1.3-0.9-2.4-1.7-3.5-2.4 c-8.8-5.9-17.8-11.6-26.4-17.8c-2.1-1.5-3.8-3.9-4.8-6.3C23.6,149.5,22.4,145.1,20.8,140.3z M342.3,288.8 c36.6-54.1,37.1-128,8.3-179.1c-10.8,3.6-21.7,7.3-32.6,10.8c-2.2,0.7-4.7,1.1-6.9,0.8c-10.5-1.5-20.9-3.7-31.4-5 c-5.8-0.8-9.9-3-12.8-8.3c-2.2-4.1-4.5-9.3-8.2-11.3c-3.7-2-9.3-0.6-14-0.6c-6,0-12.6-1.5-17.8,0.7c-5.1,2.1-8.7,8-13,12.2 c-0.2,0.2-0.4,0.3-0.5,0.5c-0.5,1.4-1.4,2.9-1.2,4.2c1.4,10.9,3.1,21.8,4.5,32.7c0.3,2.2,1.2,3.2,3.1,4c11.5,4.8,22.9,9.9,34.4,14.7 c1.5,0.6,3.4,0.7,5,0.4c6.5-1.4,12.9-3.1,19.2-4.8c3-0.8,5.6-0.4,8.1,1.4c5.4,3.8,10.9,7.5,16.5,11c2.9,1.9,4.2,4.4,4.2,7.8 c-0.1,6.2-0.2,12.5,0.1,18.7c0.1,2.4,0.6,5,1.7,7.1c4.6,9.7,9,19.6,14.5,28.8c7.5,12.6,11.2,25.7,9.4,40.3c-0.1,0.5-0.1,1,0,1.5 c0.4,1.1,0.7,2.4,1.4,3.2C336.8,283.2,339.4,285.8,342.3,288.8z M87.8,170.8c-7.8,7.8-15.2,15.1-22.4,22.6c-0.9,0.9-1.3,2.6-1.4,4 c-0.9,8,0.5,15.6,5,22.5c1.8,2.7,2.7,5.9,4.5,8.6c1,1.4,2.7,2.9,4.4,3.2c8,1.8,16.1,3.3,24.2,5c5.2,1.1,6.7,2.9,6.7,8.2 c0,12,0.7,24-0.2,36c-1.2,17.1,2,33,9.3,48.5c2.3,4.8,5.4,6.2,10.2,7c0-6.3,0.4-12.5-0.1-18.5c-0.4-5.5,1.5-9.3,6.2-12.1 c2.9-1.7,5.4-4,8.1-6c3.7-2.8,8.8-4.9,10.6-8.6c1.9-3.8,0.8-9.3,0.7-14c-0.1-3.3,1-5.7,3.3-7.9c7-6.8,13.8-13.7,20.7-20.6 c0.7-0.7,1.8-1.4,1.9-2.2c1.6-7.2,3-14.5,4.6-22.2c-5.8,0-10.9-0.1-16,0c-3.8,0.1-6.3-1.4-8.2-4.7c-4.8-8.3-9.9-16.5-14.7-24.8 c-1.1-2-2.4-2.7-4.7-2.7c-12.1,0.1-24.2,0-36.4,0.1c-4,0-6.6-1.5-8.3-5.1C93.4,181.7,90.7,176.5,87.8,170.8z M170.7,43.7 c-1.7-0.3-3.1-0.7-4.6-0.9c-14.6-2.6-30-2.8-41.8-14c-1.5-1.5-3.1-1.4-5.1-0.5c-41.2,18.9-71.3,48.9-90.4,90 c-0.6,1.3-0.7,3.2-0.3,4.5c2.6,8.2,5.3,16.4,8.2,24.5c0.5,1.4,1.6,2.8,2.9,3.6c7.1,4.9,14.3,9.6,21.5,14.4c0.8,0.5,1.6,0.9,2.6,1.3 c1.1-9.7,1.1-9.7-5.1-15.9c-1.5-1.5-3.3-2.8-4.4-4.6c-1.3-2.1-2.6-4.6-2.8-7c-0.4-5.1-0.1-10.2-0.1-15.4c0-6.1,1.6-8,7.7-8.9 c7.8-1.1,15.6-2.2,23.4-3.3c10-1.4,19.4-3.3,28.6-8.5c13.2-7.6,24.1-16.5,30.1-30.7c4.5-10.6,12.1-17,23.5-18.8 c0.6-0.1,1.3-0.2,1.8-0.6c0.7-0.6,1.6-1.2,1.9-2C169.1,48.7,169.8,46.3,170.7,43.7z M220.4,60c7.9,3.8,9.6,4,17.3,2.1 c5.1-1.3,10.1-2.7,15.2-3.7c2-0.4,4.3-0.5,6.2,0.2c14.2,5.4,29,8.1,43.8,11c1.3,0.2,2.9,0.3,3.9-0.2c3.1-1.8,6-3.9,9.5-6.2 c-1.2-1.1-2.2-1.9-3.1-2.7c-10.8-9.9-22.6-18.4-35.4-25.5c-2.3-1.3-4.2-1.5-6.5-0.1c-12.4,7.9-25.7,12.3-40.7,10.2 c-0.4-0.1-0.8-0.1-1.1,0c-0.8,0.4-1.9,0.8-2.3,1.4C224.9,50.9,222.7,55.4,220.4,60z"}));var r=a,o=n(0),i=n.n(o);const l=wp.blocks,s=l.getCategories,c=l.setCategories,u=wp.i18n.__;c([{icon:r.category,slug:"blockspare",title:u("Blockspare","blockspare")},...s().filter(({slug:e})=>"blockspare"!==e)]);const p=wp.hooks.addFilter,d=wp.compose.createHigherOrderComponent,m=["blockspare/blockspare-shape-divider"];const f=d(e=>t=>{const n=t.name;if(m.includes(n)&&(t.attributes.blockspare=t.attributes.blockspare||{},void 0===t.attributes.blockspare.id)){const e=new Date;t.attributes.blockspare=Object.assign({},t.attributes.blockspare,{id:""+e.getMonth()+e.getDate()+e.getHours()+e.getMinutes()+e.getSeconds()+e.getMilliseconds()})}return wp.element.createElement(e,t)},"withAttributes");p("blocks.registerBlockType","blockspare/custom/attributes",(function(e){return m.includes(e.name)&&void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{blockspare:{type:"object"}})),e})),p("editor.BlockEdit","blockspare/attributes",f);n(447),n(448);var b=n(93),g=["fa fa-plus","fa fa-plus-circle","fas fa-arrow-up"];const h=wp.i18n.__,y=wp.element,v=y.Component,w=y.Fragment;var k=class extends v{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const e=this.props,t=e.value,n=e.disableToggle,a=e.colorSettings,r=e.iconColor,o=e.onColorChange,i=this.state.filterText;var l=[];return i.length>2?g.forEach(e=>{e.includes(i)&&l.push(e)}):l=g,wp.element.createElement("div",{className:"blockspare-field blockspare-field-icon-list "+(n?"":"blockspare-toggle-enabled")},this.props.label&&wp.element.createElement(w,null,n?wp.element.createElement("label",null,this.props.label):wp.element.createElement(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&wp.element.createElement(Color,{label:h(" Color"),value:r||"#ccc",onChange:e=>o(e)}),(n||""!=this.props.value)&&wp.element.createElement("div",{className:"blockspare-icon-list-wrapper"},wp.element.createElement("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),wp.element.createElement("div",{className:"blockspare-icon-list-icons"},l.map(e=>wp.element.createElement("span",{className:t==e?"blockspare-active":"",onClick:t=>{this.props.onChange(e)}},wp.element.createElement("span",{className:e}))))))}};const _=wp.i18n.__,S=wp.compose.compose,E=wp.data,T=E.withSelect,x=E.withDispatch,M=wp.element,C=M.Component,L=M.Fragment,O=wp.components,D=O.Button,j=O.PanelBody,F=(O.SelectControl,O.RangeControl,wp.blockEditor),P=F.InnerBlocks,Y=F.RichText,N=F.InspectorControls,z=F.PanelColorSettings;var B=S([T((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlockHierarchyRootClientId,o=a.getBlock,i=a.isBlockSelected,l=a.hasSelectedInnerBlock;return{block:o(n),isSelectedBlockInRoot:i(n)||l(n,!0),rootBlock:n?o(r(n)):null}}),x(e=>{const t=e("core/block-editor");return{removeBlock:t.removeBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends C{constructor(){super(...arguments),this.findParentAccordion=this.findParentAccordion.bind(this),this.state={device:"md"}}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}findParentAccordion(e){const t=this.props.block;let n=!1;return e.innerBlocks&&e.innerBlocks.length&&e.innerBlocks.forEach(a=>{n||a.clientId!==t.clientId?n||(n=this.findParentAccordion(a)):n=e}),n}setGlobalSettings(e,t){const n=this.props.updateBlockAttributes,a=this.findParentAccordion(this.props.rootBlock);a.innerBlocks&&a.innerBlocks.length&&a.innerBlocks.forEach(a=>{n(a.clientId,{[e]:t})})}updateRootBlock(e,t){(0,this.props.updateBlockAttributes)(this.findParentAccordion(this.props.rootBlock).clientId,{[e]:t})}updateItemNumber(e){const t=this.props.updateBlockAttributes,n=this.findParentAccordion(this.props.rootBlock);for(;e<n.innerBlocks.length;)t(n.innerBlocks[e].clientId,{itemNumber:n.innerBlocks[e].attributes.itemNumber-1}),e++}_onClickLabel(){const e=this.props,t=e.clientId,n=e.rootBlock,a=e.attributes,r=e.setAttributes,o=e.updateBlockAttributes,i=this.findParentAccordion(this.props.rootBlock);n.attributes.itemToggle?i.innerBlocks.forEach(e=>{const n=e.clientId==t&&!a.active;o(e.clientId,{active:n})}):r({active:!a.active})}render(){const e=this.props,t=(e.rootBlock,e.attributes),n=t.active,a=t.uniqueId,r=t.itemNumber,o=t.defaultText,i=t.fillType,l=t.heading,s=t.name,c=t.iconPosition,u=t.panelColor,p=t.panelActiveColor,d=t.textColor,m=t.marginBottom,f=t.activeTextColor,b=t.panelBackGroundColor,g=e.setAttributes,h=e.isSelected,y=e.isSelectedBlockInRoot;let v="";v=p||"#8b249c";let w="#3c1a5b";u&&(w=u);let S="#fff";f&&(S=f);let E="#fff";d&&(E=d);let T="#fff";b&&(T=b);const x=`blockspare-accordion-item blockspare-type-${i} ${n?"blockspare-accordion-active":""}`,M={backgroundColor:1==n?v:w},C=(_("Left","blockspare"),_("Right","blockspare"),{marginBottom:m+"px"});return wp.element.createElement(L,null,wp.element.createElement(N,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(j,{title:_("Color settings","blockspare"),initialOpen:!0},wp.element.createElement(z,{title:_("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:d,onChange:e=>this.setGlobalSettings("textColor",e),label:_("Text Color","blockspare")},{value:f,onChange:e=>this.setGlobalSettings("activeTextColor",e),label:_("Active Text Color","blockspare")},{value:p,onChange:e=>this.setGlobalSettings("panelActiveColor",e),label:_("Active Panel Color","blockspare")},{value:u,onChange:e=>this.setGlobalSettings("panelColor",e),label:_("Panel Color","blockspare")}]})),wp.element.createElement(j,{title:_("Icon settings","blockspare"),initialOpen:!1},wp.element.createElement(k,{value:s,onChange:e=>this.setGlobalSettings("name",e)})))),wp.element.createElement("div",{className:"blockspare-block-"+a},wp.element.createElement("div",{className:x,style:C},wp.element.createElement("div",{className:"blockspare-accordion-panel "+c,style:M},wp.element.createElement("span",{className:"blockspare-accordion-panel-handler",onClick:()=>this._onClickLabel(),role:"button",style:{color:n?S:E}},s&&wp.element.createElement("span",{className:"blockspare-accordion-icon "+s}),wp.element.createElement(Y,{tagName:"span",placeholder:_("Add Accordion Item.."),className:"blockspare-accordion-panel-handler-label",value:l,onChange:e=>g({heading:e}),allowedFormats:["bold","italic","strikethrough"],isSelected:h,keepPlaceholderOnFocus:!0,onClick:()=>this.updateLabel()})),y&&wp.element.createElement(D,{onClick:()=>{const e=this.findParentAccordion(this.props.rootBlock);e&&e.clientId&&(this.updateItemNumber(r),this.props.removeBlock(this.props.clientId),e.innerBlocks.length<=1&&this.props.removeBlock(e.clientId))},className:"blockspare-accordion-item-remove-button"},wp.element.createElement("i",{className:"fa fa-times"}))),wp.element.createElement("div",{className:"blockspare-accordion-body",style:{backgroundColor:T},"data-bg":T},wp.element.createElement(P,{template:o?[["core/paragraph",{content:o,customFontSize:16}]]:"",templateLock:!1})))))}});const A=wp.element.Component,H=wp.blockEditor,I=H.InnerBlocks,R=H.RichText;var W=class extends A{render(){const e=this.props.attributes,t=e.uniqueId,n=(e.itemNumber,e.heading),a=e.name,r=e.iconPosition,o=e.fillType,i=(e.active,e.openFirstItem,e.panelColor),l=e.panelActiveColor,s=e.textColor,c=e.marginBottom,u=e.activeTextColor,p=e.panelBackGroundColor;e.defaultTextSize;let d="";d=l||"#8b249c";let m="#3c1a5b";i&&(m=i);let f="#fff";u&&(f=u);let b="#fff";s&&(b=s);const g=`blockspare-accordion-item blockspare-type-${o} `,h={backgroundColor:m},y={marginBottom:c+"px"};let v="#fff";return p&&(v=p),wp.element.createElement("div",{className:"blockspare-block-"+t},wp.element.createElement("div",{className:g,"data-act-color":f,"data-txt-color":b,"data-active":d,"data-pan":m,style:y},wp.element.createElement("div",{className:"blockspare-accordion-panel "+r,style:h},wp.element.createElement("span",{className:"blockspare-accordion-panel-handler",role:"button",style:{color:b}},a&&wp.element.createElement("span",{className:"blockspare-accordion-icon "+a}),wp.element.createElement(R.Content,{tagName:"span",className:"blockspare-accordion-panel-handler-label",value:n}))),wp.element.createElement("div",{className:"blockspare-accordion-body",style:{backgroundColor:v},"data-bg":v},wp.element.createElement(I.Content,null))))}};const U=wp.i18n.__,G=wp.blocks.registerBlockType,V=b.category,q=b.attributes,$={title:U("Accordion","blockspare"),description:U("Display creative collapsible texts Accordion.","blockspare"),parent:["blockspare/blockspare-accordion"],icon:"link",category:V,supports:{html:!1,inserter:!1,reusable:!1},attributes:q,edit:B,save:W};G("blockspare/accordion-item",$);wp.i18n.__;const J=wp.element,X=J.Component,K=J.Fragment,Q=(wp.components.IconButton,wp.blockEditor.InnerBlocks),Z=wp.blocks.createBlock,ee=wp.compose.compose,te=wp.data,ne=te.withSelect,ae=te.withDispatch;var re=ee([ne((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,o=a.isBlockSelected,i=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:o(n)||i(n,!0)}}),ae(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends X{constructor(...e){var t,n,a;super(...e),a=e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++){const n="Ipsam per dolores minus natoque? Rutrum dolorem voluptates euismod pharetra! Rhoncus distinctio cupiditate accusantium. Cillum aliquid.";t.push(["blockspare/accordion-item",{itemNumber:e,defaultText:n,customFontSize:16}])}return t},(n="getAccordionTemplate")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertAccordionItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes,n=t.itemNumber+1,a=$.heading;e=Object.assign({},t,{itemNumber:n,heading:a,active:!1,defaultText:""})}else e=$;a(Z("blockspare/accordion-item",e),void 0,n)}render(){const e=this.props,t=(e.name,e.attributes),n=(e.isSelectedBlockInRoot,e.setAttributes,e.attributes.uniqueId);return wp.element.createElement(K,null,wp.element.createElement("div",{className:"blockspare-block-accordion blockspare-block-"+n},wp.element.createElement(Q,{template:this.getAccordionTemplate(t),allowedBlocks:["blockspare/accordion-item"]})))}});const oe=wp.element.Component,ie=wp.blockEditor.InnerBlocks;var le=class extends oe{render(){const e=this.props.attributes,t=e.uniqueId,n=e.itemToggle,a="blockspare-block-accordion blockspare-block blockspare-block-"+t;return wp.element.createElement("div",{className:a,"data-item-toggle":n},wp.element.createElement(ie.Content,null))}},se=n(57);const ce=wp.i18n.__,ue=wp.blocks.registerBlockType,pe=se.name,de=se.category,me=se.attributes;ue(pe,{title:ce("BS Accordion","blockspare"),description:ce("Display creative collapsible Accordion.","blockspare"),category:de,icon:r.accordion,keywords:[ce("accordion","blockspare"),ce("block","blockspare"),ce("collapsible","blockspare"),ce("collapse","blockspare")],supports:{html:!1,className:!1},example:{attributes:{}},attributes:me,edit:re,save:le});n(449),n(450);var fe=n(58);const be=wp.i18n.__,ge=wp.element.Fragment,he=wp.components,ye=he.SelectControl,ve=he.ToggleControl,we=he.RangeControl,ke=wp.blockEditor.PanelColorSettings;function _e(e){const t=e.enableGradient,n=e.enableButtonBackgroundColor,a=e.buttonBackgroundColor,r=e.onChangeButtonColor,o=void 0===r?()=>{}:r,i=e.buttonTextColor,l=e.onChangeButtonTextColor,s=void 0===l?()=>{}:l,c=e.enableButtonSize,u=e.buttonSize,p=e.onChangeButtonSize,d=void 0===p?()=>{}:p,m=e.enableButtonShape,f=e.buttonShape,b=e.onChangeButtonShape,g=void 0===b?()=>{}:b,h=e.enableButtonStyle,y=e.buttonStyle,v=e.onChangeBorderStyle,w=void 0===v?()=>{}:v,k=e.enableButtonTarget,_=e.buttonTarget,S=e.onChangeButtonTarget,E=void 0===S?()=>{}:S,T=e.borderColor,x=e.onchangeBorderColor,M=void 0===x?()=>{}:x,C=e.borderBtnTextColor,L=e.onChangeBorderBtnTextColor,O=void 0===L?()=>{}:L,D=e.enableBtnBorderWidth,j=e.btnBorderWidth,F=e.onchangebtnBorderWidth,P=void 0===F?()=>{}:F,Y=e.enableBtnFontWeight,N=e.btnFontWeight,z=e.onchangeBtnFontWeight,B=void 0===z?()=>{}:z,A=e.buttonHoverEffect,H=e.onchangeButtonHoverEffect,I=void 0===H?()=>{}:H,R=[{value:"blockspare-button-size-small",label:be("Small","blockspare")},{value:"blockspare-button-size-medium",label:be("Medium","blockspare")},{value:"blockspare-button-size-large",label:be("Large","blockspare")},{value:"blockspare-button-size-extralarge",label:be("Extra Large","blockspare")}],W=[{value:"blockspare-button-shape-square",label:be("Square","blockspare")},{value:"blockspare-button-shape-rounded",label:be("Rounded Square","blockspare")},{value:"blockspare-button-shape-circular",label:be("Circular","blockspare")}],U=[{value:"none",label:be("Fill","blockspare")},{value:"solid",label:be("Border","blockspare")}],G=[{value:"normal",label:be("Normal","blockspare")},{value:"bold",label:be("Bold","blockspare")}],V=[{value:"",label:be("None","blockspare")},{value:"hover-style-1",label:be("Dim","blockspare")},{value:"hover-style-2",label:be("Raise","blockspare")}];return wp.element.createElement(ge,null,0!=k&&wp.element.createElement(ve,{label:be("Open link in new window","blockspare"),checked:_,onChange:E}),0!=c&&wp.element.createElement(ye,{selected:u,label:be("Button Size","blockspare"),value:u,options:R.map(({value:e,label:t})=>({value:e,label:t})),onChange:d}),0!=m&&wp.element.createElement(ye,{label:be("Button Shape","blockspare"),value:f,options:W.map(({value:e,label:t})=>({value:e,label:t})),onChange:g}),0!=h&&wp.element.createElement(ye,{label:be("Border Style","blockspare"),value:y,options:U.map(({value:e,label:t})=>({value:e,label:t})),onChange:w}),wp.element.createElement(ye,{label:be("Hover Option","blockspare"),value:A,options:V.map(({value:e,label:t})=>({value:e,label:t})),onChange:I}),0!=D&&"solid"===y&&wp.element.createElement(we,{label:be("Border Width","blockspare"),value:j,min:1,step:1,max:5,onChange:P}),0!=D&&"solid"===y&&wp.element.createElement(we,{label:be("Border Width","blockspare"),value:j,min:1,step:1,max:5,onChange:P}),0!=Y&&wp.element.createElement(ye,{label:be("Font Weight","blockspare"),value:N,options:G.map(({value:e,label:t})=>({value:e,label:t})),onChange:B}),0!=n&&"none"===y&&1==t&&wp.element.createElement(ke,{title:be("Button Color Options","blockspare"),initialOpen:!1,colorSettings:[{value:i,onChange:s,label:be("Button Text Color","blockspare")}]}),0!=n&&"none"===y&&0==t&&wp.element.createElement(ke,{title:be("Button Color Options","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:o,label:be("Button Color","blockspare")},{value:i,onChange:s,label:be("Button Text Color","blockspare")}]}),"solid"===y&&wp.element.createElement(ke,{title:be("Border Color","blockspare"),initialOpen:!0,colorSettings:[{value:T,onChange:M,label:be("Border Color","blockspare")},{value:C,onChange:O,label:be("Texts Color","blockspare")}]}))}const Se=wp.i18n.__,Ee=wp.element.Fragment,Te=wp.components.RangeControl,xe=wp.blockEditor.PanelColorSettings;function Me(e){const t=e.backgroundColor1,n=e.backgroundColor2,a=e.gradientAngle,r=e.colorLocation1,o=e.colorLocation2,i=e.onChangeBackgroundColor1,l=void 0===i?()=>{}:i,s=e.onChangeBackgroundColor2,c=void 0===s?()=>{}:s,u=e.onChangeGradientAngle,p=void 0===u?()=>{}:u,d=e.onChangeColorLocation1,m=void 0===d?()=>{}:d,f=e.onChangeColorLocation2,b=void 0===f?()=>{}:f;return wp.element.createElement(Ee,null,wp.element.createElement(xe,{title:Se("Gradient Color Option ","blockspare"),initialOpen:!0,colorSettings:[{value:t,onChange:l,label:Se("Background Color #1","blockspare")},{value:n,onChange:c,label:Se("Background Color #2","blockspare")}]}),wp.element.createElement(Te,{label:Se("Gradient Angle","blockspare"),value:a,onChange:p,min:-180,step:1,max:180}),wp.element.createElement(Te,{label:Se("Location #1","blockspare"),value:r,onChange:m,min:0,step:1,max:100}),wp.element.createElement(Te,{label:Se("Location #2","blockspare"),value:o,onChange:b,min:0,step:1,max:100}))}const Ce=wp.i18n.__,Le=wp.element.Fragment,Oe=wp.components.RangeControl;function De(e){const t=e.padding,n=e.paddingTitle,a=e.paddingHelp,r=e.paddingMin,o=e.paddingMax,i=e.paddingEnable,l=e.onChangePadding,s=void 0===l?()=>{}:l,c=e.paddingTop,u=e.paddingTopMin,p=e.paddingTopMax,d=e.paddingEnableTop,m=e.onChangePaddingTop,f=void 0===m?()=>{}:m,b=e.paddingRight,g=e.paddingRightMin,h=e.paddingRightMax,y=e.paddingEnableRight,v=e.onChangePaddingRight,w=void 0===v?()=>{}:v,k=e.paddingBottom,_=e.paddingBottomMin,S=e.paddingBottomMax,E=e.paddingEnableBottom,T=e.onChangePaddingBottom,x=void 0===T?()=>{}:T,M=e.paddingLeft,C=e.paddingLeftMin,L=e.paddingLeftMax,O=e.paddingEnableLeft,D=e.onChangePaddingLeft,j=void 0===D?()=>{}:D,F=e.paddingVertical,P=e.paddingEnableVertical,Y=e.paddingVerticalMin,N=e.paddingVerticalMax,z=e.onChangePaddingVertical,B=void 0===z?()=>{}:z,A=e.paddingHorizontal,H=e.paddingEnableHorizontal,I=e.paddingHorizontalMin,R=e.paddingHorizontalMax,W=e.onChangePaddingHorizontal,U=void 0===W?()=>{}:W;return wp.element.createElement(Le,null,i&&wp.element.createElement(Oe,{label:n||Ce("Padding","blockspare"),help:a||null,value:t,min:r,max:o,onChange:s}),d&&wp.element.createElement(Oe,{label:Ce("Padding Top","blockspare"),value:c,min:u,max:p,onChange:f}),y&&wp.element.createElement(Oe,{label:Ce("Padding Right","blockspare"),value:b,min:g,max:h,onChange:w}),E&&wp.element.createElement(Oe,{label:Ce("Padding Bottom","blockspare"),value:k,min:_,max:S,onChange:x}),O&&wp.element.createElement(Oe,{label:Ce("Padding Left","blockspare"),value:M,min:C,max:L,onChange:j}),P&&wp.element.createElement(Oe,{label:Ce("Padding Vertical","blockspare"),value:F,min:Y,max:N,onChange:B}),H&&wp.element.createElement(Oe,{label:Ce("Padding Horizontal","blockspare"),value:A,min:I,max:R,onChange:U}))}const je=wp.i18n.__,Fe=wp.element.Fragment,Pe=wp.components.RangeControl;function Ye(e){const t=e.margin,n=e.marginTitle,a=e.marginHelp,r=e.marginMin,o=e.marginMax,i=e.marginEnable,l=e.onChangeMargin,s=void 0===l?()=>{}:l,c=e.marginTop,u=e.marginTopMin,p=e.marginTopMax,d=e.marginEnableTop,m=e.onChangeMarginTop,f=void 0===m?()=>{}:m,b=e.marginBottom,g=e.marginBottomMin,h=e.marginBottomMax,y=e.marginEnableBottom,v=e.onChangeMarginBottom,w=void 0===v?()=>{}:v;return wp.element.createElement(Fe,null,i&&wp.element.createElement(Pe,{label:n||je("Margin","blockspare"),help:a||null,value:t,min:r,max:o,onChange:s}),d&&wp.element.createElement(Pe,{label:je("Margin Top","blockspare"),value:c,min:u,max:p,onChange:f}),y&&wp.element.createElement(Pe,{label:je("Margin Bottom","blockspare"),value:b,min:g,max:h,onChange:w}))}const Ne=wp.i18n.__,ze=wp.element.Component,Be=wp.blockEditor.InspectorControls,Ae=wp.components,He=Ae.PanelBody,Ie=Ae.ToggleControl;class Re extends ze{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.buttonBackgroundColor,n=e.buttonTextColor,a=e.buttonSize,r=e.buttonShape,o=e.buttonStyle,i=e.buttonTarget,l=e.borderColor,s=e.borderBtnTextColor,c=e.enableGradient,u=e.backgroundColor1,p=e.backgroundColor2,d=e.gradientAngle,m=e.colorLocation1,f=e.colorLocation2,b=e.btnFontWeight,g=e.btnBorderWidth,h=e.buttonHoverEffect,y=(e.paddingTop,e.paddingRight,e.paddingBottom,e.paddingLeft,e.marginTop),v=e.marginBottom,w=this.props.setAttributes;return wp.element.createElement(Be,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(He,{title:Ne("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(_e,{enableButtonTarget:!1,buttonTarget:i,onChangeButtonTarget:e=>w({buttonTarget:!i}),enableGradient:c,onChangeGradient:e=>w({enableGradient:e}),enableButtonSize:!0,buttonSize:a,onChangeButtonSize:e=>w({buttonSize:e}),enableButtonShape:!0,buttonShape:r,onChangeButtonShape:e=>w({buttonShape:e}),buttonBackgroundColor:t,onChangeButtonColor:e=>w({buttonBackgroundColor:e}),buttonTextColor:n,onChangeButtonTextColor:e=>w({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:o,onChangeBorderStyle:e=>w({buttonStyle:e}),buttonHoverEffect:h,onchangeButtonHoverEffect:e=>w({buttonHoverEffect:e}),borderColor:l,onchangeBorderColor:e=>w({borderColor:e}),borderBtnTextColor:s,onChangeBorderBtnTextColor:e=>w({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:g,onchangebtnBorderWidth:e=>w({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:b,onchangeBtnFontWeight:e=>w({btnFontWeight:e})}),"none"===o&&wp.element.createElement(Ie,{label:Ne("Enable Gradient","blockspare"),checked:c,onChange:()=>this.props.setAttributes({enableGradient:!c})}),c&&"none"===o&&wp.element.createElement(Me,{backgroundColor1:u,onChangeBackgroundColor1:e=>w({backgroundColor1:e}),backgroundColor2:p,onChangeBackgroundColor2:e=>w({backgroundColor2:e}),gradientAngle:d,onChangeGradientAngle:e=>w({gradientAngle:e}),colorLocation1:m,onChangeColorLocation1:e=>w({colorLocation1:e}),colorLocation2:f,onChangeColorLocation2:e=>w({colorLocation2:e})})),wp.element.createElement(He,{title:Ne("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(He,{title:Ne("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:y,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>w({marginTop:e}),marginEnableBottom:!0,marginBottom:v,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>w({marginBottom:e})})))))}}var We=n(8),Ue=n.n(We),Ge=n(262),Ve=n.n(Ge);wp.i18n.sprintf;const qe=(e,t=!1)=>{const n=e.replace(/\/\*.*?\*\//g,"").replace(/\n\s*\n/g,"").replace(/[\n\r \t]/g," ").replace(/ +/g," ").replace(/ ?([,:;{}]) ?/g,"$1").replace(/[^\}\{]+\{\}/g,"").replace(/[^\}\{]+\{\}/g,"").replace(/;}/g,"}").trim();return t?n.replace(/\s?\!important/g,"").replace(/([;\}])/g," !important$1").replace(/\} !important\}/g,"}}").trim():n},$e=(e,t="",n="",a="")=>e.trim().replace(/[\n\s\t]+/g," ").split(",").map(e=>{let r="";return r=n&&t?n&&!t?`.${n} ${e.trim()}`:`.${n} ${e.trim()}`.replace(new RegExp(`(.${n}) (.${t}(#|:|\\[|\\.|\\s|$))`,"g"),"$1$2"):e,a?`${a} ${r}`:r}).join(", ");function Je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ke=(e,t="",n="",a=!1)=>Object.keys(e).reduce((r,o)=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Je(Object(n),!0).forEach((function(t){Xe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r,{[$e(o,t,n,a?"#editor":"")]:e[o]}),{}),Qe=e=>qe(Object.keys(e).reduce((t,n)=>{const a=Object.keys(e[n]).reduce((t,a)=>{const r=e[n][a];return void 0===r?t:`${t}\n\t${a.replace(/^(--?)?(.*?$)/,(e,t,n)=>`${t||""}${Ve()(n)}`)}: ${r};`},"");return`${t}\n\n${n} {${a}\n}`},"").trim());var Ze=e=>{const t=e.style,n=void 0===t?{}:t,a=e.editorMode,r=void 0!==a&&a,o=e.blockUniqueClassName,i=void 0===o?"":o,l=e.blockMainClassName,s=void 0===l?"":l,c=e.breakTablet,u=void 0===c?1025:c,p=e.breakMobile,d=((e,t="",n="",a=1025,r=768,o=!1)=>{const i=[],l=Ue()(e,["tablet","mobile","editor"]);if(Object.keys(l).length){const e=Ke(l,t,n,o);i.push(Qe(e))}if(void 0!==e.tablet){const r=Ke(e.tablet,t,n,o),l=Qe(r);l&&i.push(`\n@media screen and (max-width: ${a}px) {\n${l} }`)}if(void 0!==e.mobile){const a=Ke(e.mobile,t,n,o),l=Qe(a);l&&i.push(`\n@media screen and (max-width: ${r}px) {\n${l} }`)}if(o&&void 0!==e.editor){const a=Ke(e.editor,t,n,o);i.push(Qe(a))}return qe(i.join(""))})(n,s,i,u,void 0===p?768:p,r);return d?wp.element.createElement("style",null,d):null},et=n(4),tt=n.n(et);function nt(){return(nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function at(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const rt=wp.hooks.applyFilters,ot=wp.element.Component,it=wp.compose.createHigherOrderComponent;var lt=(e,t={})=>it(n=>{var a,r;return r=a=class extends ot{render(){const a=i()([this.props.className,this.props.attributes.uniqueClass]),r=this.props.blockName,o=rt(`blockspare.${r}.styles`,e(this.props),this.props),l=wp.element.createElement(Ze,{blockUniqueClassName:this.props.attributes.uniqueClass,blockMainClassName:this.props.className,style:o,editorMode:t.editorMode||!1});return wp.element.createElement(n,nt({},this.props,{className:a,styles:l}))}},at(a,"propTypes",{attributes:tt.a.shape({uniqueClass:tt.a.string.isRequired}),blockName:tt.a.string.isRequired,mainClassName:tt.a.string.isRequired}),at(a,"defaultProps",{attributes:{},blockName:"",className:"",mainClassName:""}),r},"withBlockStyles");wp.hooks.addFilter;const st=wp.element.Component,ct=wp.compose.createHigherOrderComponent;var ut=ct(e=>{var t,n,a,r,o;return n=t=class extends st{componentDidMount(){const e=this.props,t=e.attributes,n=e.setAttributes,a=e.clientId,r="blockspare-"+a.substring(0,15);void 0!==t.uniqueClass&&t.uniqueClass===r||n({uniqueClass:r})}render(){return wp.element.createElement(e,this.props)}},o={attributes:{},clientId:"",setAttributes:()=>{}},(r="defaultProps")in(a=t)?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o,n},"withUniqueClass"),pt=n(2),dt=n.n(pt);var mt=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.marginTop,r=t.marginBottom,o=t.buttonStyle,i=t.enableGradient,l=t.backgroundColor1,s=t.backgroundColor2,c=t.gradientAngle,u=t.colorLocation1,p=t.colorLocation2,d=t.btnFontWeight,m=t.btnBorderWidth,f=t.borderColor,b=t.buttonBackgroundColor,g=t.borderBtnTextColor,h=t.buttonTextColor,y=[];if(y.push({".blockspare-block-button":{textAlign:n,marginTop:a?a+"px":"0px",marginBottom:r?r+"px":"0px"}}),"none"===o)if(1==i){const e=c+"deg",t=u+"%",n=p+"%";y.push({".blockspare-block-button span":{color:h||"#fff",fontWeight:d,borderWidth:m+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${l||"#3B1A5B"} ${t},${s||"#8B249C"} ${n})`}})}else y.push({".blockspare-block-button span":{color:h||"#fff",fontWeight:d,borderWidth:m+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:b||"#3c1a5b"}});else y.push({".blockspare-block-button span":{color:g||"#404040",borderColor:f||"#3c1a5b",borderStyle:o,fontWeight:d,borderWidth:m+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return dt.a.all(y)};const ft=wp.element,bt=ft.Fragment,gt=ft.Component,ht=wp.compose.compose,yt=wp.i18n.__,vt=wp.blockEditor,wt=vt.RichText,kt=vt.AlignmentToolbar,_t=vt.BlockControls,St=vt.URLInput,Et=wp.components,Tt=Et.IconButton,xt=Et.Dashicon;var Mt=ht(ut,lt(mt))(class extends gt{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.sectionAlignment,o=t.buttonSize,l=t.buttonShape,s=t.buttonHoverEffect,c=e.className,u=e.isSelected,p=e.setAttributes,d=(e.attributes,i()([c,"blockspare-block-button-wrap"]));return wp.element.createElement(bt,null,wp.element.createElement(_t,{key:"controls"},wp.element.createElement(kt,{value:r,onChange:e=>{p({sectionAlignment:e})}})),wp.element.createElement(Re,this.props),wp.element.createElement("div",{className:d},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement(wt,{tagName:"span",placeholder:yt("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:`<span>${n}</span>`,allowedFormats:[],className:i()("blockspare-button",l,o,s),onChange:e=>p({buttonText:e})})),u&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+r,onSubmit:e=>e.preventDefault(),style:{textAlign:r}},wp.element.createElement(xt,{icon:"admin-links"}),wp.element.createElement(St,{className:"button-url",value:a,onChange:e=>p({buttonUrl:e})}),wp.element.createElement(Tt,{icon:"editor-break",label:yt("Buy","blockspare"),type:"submit"}))))}});wp.i18n.__;const Ct=wp.element.Component,Lt=wp.compose.compose,Ot=wp.blockEditor.RichText;var Dt=Lt(ut,lt(mt))(class extends Ct{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonShape,o=t.buttonSize,l=t.buttonTarget,s=t.buttonHoverEffect,c=e.className,u=i()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:i()("blockspare-button",r,o,s)},wp.element.createElement(Ot.Content,{tagName:"span",value:n}))))}});var jt={sectionAlignment:{type:"string",default:"center"},uniqueClass:{type:"string",default:""},buttonText:{type:"string",default:"Get Started"},buttonUrl:{type:"string",source:"attribute",selector:"a",attribute:"href"},buttonBackgroundColor:{type:"string",default:"#3c1a5b"},buttonTextColor:{type:"string",default:"#fff"},buttonSize:{type:"string",default:"blockspare-button-size-small"},buttonShape:{type:"string",default:"blockspare-button-shape-rounded"},buttonTarget:{type:"boolean",default:!1},buttonStyle:{type:"string",default:"none"},borderColor:{type:"string",default:"#3c1a5b"},borderBtnTextColor:{type:"string",default:"#404040"},enableGradient:{type:"boolean",default:!1},backgroundColor1:{type:"string",default:"#3B1A5B"},backgroundColor2:{type:"string",default:"#8B249C"},gradientAngle:{type:"number",default:-90},colorLocation1:{type:"number",default:30},colorLocation2:{type:"number",default:70},btnBorderWidth:{type:"number",default:1},btnFontWeight:{type:"string",default:"normal"},buttonHoverEffect:{type:"string",default:""}};var Ft=e=>{let t="";if("none"===e.buttonStyle)if(1==e.enableGradient){const n=e.gradientAngle+"deg",a=e.colorLocation1+"%",r=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${n},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${a},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${r})`,color:e.buttonTextColor?e.buttonTextColor:"#fff",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"}}else t={color:e.buttonTextColor?e.buttonTextColor:"#fff",backgroundColor:e.buttonBackgroundColor?e.buttonBackgroundColor:"#3c1a5b",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};else t={color:e.borderBtnTextColor?e.borderBtnTextColor:"#404040",backgroundColor:"transparent",borderColor:e.borderColor?e.borderColor:"#3c1a5b",borderStyle:e.buttonStyle,fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};return t};var Pt=e=>{let t="";if("none"===e.buttonStyle)if(1==e.enableGradient){const n=e.gradientAngle+"deg",a=e.colorLocation1+"%",r=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${n},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${a},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${r})`,color:e.buttonTextColor?e.buttonTextColor+"!important":"#fff!important",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"}}else t={color:e.buttonTextColor?e.buttonTextColor+"!important":"#fff!important",backgroundColor:e.buttonBackgroundColor?e.buttonBackgroundColor:"#3c1a5b",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};else t={color:e.borderBtnTextColor?e.borderBtnTextColor+"!important":"#404040!important",backgroundColor:"transparent",borderColor:e.borderColor?e.borderColor:"#3c1a5b",borderStyle:e.buttonStyle,fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};return t};function Yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yt(Object(n),!0).forEach((function(t){zt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bt=e=>{const t=e.attributes.sectionAlignment,n=[];return n.push({".blockspare-block-button":{textAlign:t},".blockspare-button":Nt({},Pt(e.attributes))}),dt.a.all(n)};wp.i18n.__;const At=wp.element.Component,Ht=wp.compose.compose,It=wp.blockEditor.RichText;var Rt=Ht(ut,lt(Bt))(class extends At{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonShape,o=t.buttonSize,l=t.buttonTarget,s=t.buttonHoverEffect,c=e.className,u=i()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:i()("blockspare-button",r,o,s)},wp.element.createElement(It.Content,{value:n}))))}});function Wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wt(Object(n),!0).forEach((function(t){Gt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const Vt=wp.blockEditor,qt=Vt.RichText;Vt.AlignmentToolbar,Vt.BlockControls,Vt.URLInput;var $t=[{attributes:Ut({marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}},jt),save:function(e){const t=e.attributes,n=(t.sectionAlignment,t.buttonText),a=t.buttonUrl,r=t.buttonShape,o=t.buttonSize,l=t.buttonTarget,s=t.buttonHoverEffect,c=Ut({},Ft(e.attributes));return wp.element.createElement("div",{style:{textAlign:e.attributes.sectionAlignment},className:i()(e.attributes.className,"blockspare-block-button")},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:i()("blockspare-button",r,o,s),style:c},wp.element.createElement(qt.Content,{value:n})))}},{attributes:Ut({},jt,{marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}}),save:e=>wp.element.createElement(Rt,e)}];var Jt={paddingTop:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingLeft:{type:"number",default:20},marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}};function Xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Qt=fe.name,Zt=fe.category,en=wp.i18n.__;(0,wp.blocks.registerBlockType)(Qt,{title:en("BS Button","blockspare"),description:en("Prompt visitors to take action with multiple buttons, side by side.","blockspare"),category:Zt,icon:r.button,attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(n),!0).forEach((function(t){Kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},jt,{},fe.attributes),keywords:[en("block","blockspare"),en("button","blockspare"),en("cta","blockspare"),en("call to action","blockspare")],example:{attributes:{sectionAlignment:"center",buttonText:en("Get Started","blockspare"),buttonBackgroundColor:"#3c1a5b",buttonTextColor:"#fff",buttonSize:"blockspare-button-size-small",buttonShape:"blockspare-button-shape-rounded"}},edit:Mt,save:Dt,deprecated:$t});n(451);var tn=n(59);var nn={className:{type:"string"},uniqueClass:{type:"string",default:""},align:{type:"string",default:"center"},sectionAlignment:{type:"string",default:"center"},headerTitle:{type:"string",default:"Enter Title"},titleFontSize:{type:"number",default:32},subtitleFontSize:{type:"number",default:18},headerSubTitle:{type:"string",default:"Enter Subtitle"},headerboxColor:{type:"string",default:"transparent"},headertitleColor:{type:"string",default:"#404040"},headersubtitleColor:{type:"string",default:"#6d6d6d"},headertitleDashColor:{type:"string",default:"#6d6d6d"},headerpaddingTop:{type:"number",default:10},headerpaddingRight:{type:"number",default:20},headerpaddingBottom:{type:"number",default:10},headerpaddingLeft:{type:"number",default:20},headermarginTop:{type:"number",default:30},headermarginBottom:{type:"number",default:30},headerlayoutOption:{type:"string",default:"blockspare-style1"},headerTagOption:{type:"string",default:"h2"},titlePaddingTop:{type:"number",default:5},titlePaddingBottom:{type:"number",default:5},subtitlePaddingTop:{type:"number",default:5},subtitlePaddingBottom:{type:"number",default:5},dashColor:{type:"string",default:"#8b249c"},titleFontFamily:{type:"string",default:"Default"},titleFontWeight:{type:"string"},titleFontSubset:{type:"string"},titleFontSizeType:{type:"string",default:"px"},titleFontSizeMobile:{type:"number"},titleFontSizeTablet:{type:"number"},titleLoadGoogleFonts:{type:"boolean",default:!1},subTitleFontSize:{type:"number",default:18},subTitleFontFamily:{type:"string",default:"Default"},subTitleFontWeight:{type:"string"},subTitleFontSubset:{type:"string"},subTitleFontSizeType:{type:"string",default:"px"},subTitleFontSizeMobile:{type:"number"},subTitleFontSizeTablet:{type:"number"},subTitleLoadGoogleFonts:{type:"boolean",default:!1}};var an={enableBoxShadow:{type:"boolean",default:!1},xOffset:{type:"number",default:0},yOffset:{type:"number",default:6},blur:{type:"number",default:12},spread:{type:"number",default:-10},shadowColor:{type:"string",default:"#000"}};const rn=wp.i18n.__,on=wp.element.Fragment,ln=wp.components,sn=(ln.ToggleControl,ln.PanelBody),cn=(ln.SelectControl,ln.RangeControl),un=wp.blockEditor.PanelColorSettings;function pn(e){const t=e.enableBlockGaps,n=(e.titleFontSize,e.onChangetitleFontSize,e.subtitleFontSize,e.onChangesubtitleFontSize,e.headerTagOption,e.onChangeHeaderTag,e.enableheaderboxColor,e.headerboxColor,e.onChangeboxcolor,e.headerlayoutOption),a=e.dashColor,r=e.onChangeDashColor,o=void 0===r?()=>{}:r,i=e.headertitleColor,l=e.onChangetitlecolor,s=void 0===l?()=>{}:l,c=e.titlePaddingTop,u=e.onChangetitlePaddingTop,p=void 0===u?()=>{}:u,d=e.titlePaddingBottom,m=e.onChangetitlePaddingBottom,f=void 0===m?()=>{}:m,b=e.headersubtitleColor,g=e.onChangesubtitlecolor,h=void 0===g?()=>{}:g,y=e.subtitlePaddingTop,v=e.onChangesubtitlePaddingTop,w=void 0===v?()=>{}:v,k=e.subtitlePaddingBottom,_=e.onChangesubtitlePaddingBottom,S=void 0===_?()=>{}:_,E=e.headerpaddingTop,T=e.onChangeheaderpaddingTop,x=void 0===T?()=>{}:T,M=e.headerpaddingRight,C=e.onChangeheaderpaddingRight,L=void 0===C?()=>{}:C,O=e.headerpaddingBottom,D=e.onChangeheaderpaddingBottom,j=void 0===D?()=>{}:D,F=e.headerpaddingLeft,P=e.onChangeheaderpaddingLeft,Y=void 0===P?()=>{}:P,N=e.headermarginTop,z=e.onChangeheadermarginTop,B=void 0===z?()=>{}:z,A=e.headermarginBottom,H=e.onChangeheadermarginBottom,I=void 0===H?()=>{}:H;rn("h1","blockspare"),rn("h2","blockspare"),rn("h3","blockspare"),rn("h4","blockspare"),rn("h5","blockspare"),rn("h6","blockspare");return wp.element.createElement(on,null,wp.element.createElement(sn,{title:rn("Color Settings","blockspare"),initialOpen:!1},wp.element.createElement(un,{title:rn("Title Settings","blockspare"),initialOpen:!0,colorSettings:[{value:i,onChange:s,label:rn("Title Color","blockspare")},{value:b,onChange:h,label:rn("Subtitle Color","blockspare")}]}),"blockspare-style2"===n&&wp.element.createElement(un,{title:rn("Dash color","blockspare"),initialOpen:!0,colorSettings:[{value:a,onChange:o,label:rn("Dash Color","blockspare")}]})),wp.element.createElement(sn,{title:rn("Content Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(sn,{title:rn("Title Gaps","blockspare"),initialOpen:!1},wp.element.createElement(cn,{label:rn("Padding Top","blockspare"),value:c,onChange:p,min:0,max:100}),wp.element.createElement(cn,{label:rn("Padding Bottom","blockspare"),value:d,onChange:f,min:0,max:100})),wp.element.createElement(sn,{title:rn("Subtitle Gaps","blockspare"),initialOpen:!1},wp.element.createElement(cn,{label:rn("Padding Top","blockspare"),value:y,onChange:w,min:0,max:100}),wp.element.createElement(cn,{label:rn("Padding Bottom","blockspare"),value:k,onChange:S,min:0,max:100}))),1==t&&wp.element.createElement(sn,{title:rn("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(sn,{title:rn("Padding Settings","blockspare"),initialOpen:!1},wp.element.createElement(cn,{label:rn("Header Padding Top","blockspare"),value:E,onChange:x,min:0,max:100}),wp.element.createElement(cn,{label:rn("Header Padding Left","blockspare"),value:F,onChange:Y,min:0,max:100}),wp.element.createElement(cn,{label:rn("Header Padding Bottom","blockspare"),value:O,onChange:j,min:0,max:100}),wp.element.createElement(cn,{label:rn("Header Padding Right","blockspare"),value:M,onChange:L,min:0,max:100})),wp.element.createElement(sn,{title:rn("Margin Settings","blockspare"),initialOpen:!1},wp.element.createElement(cn,{label:rn("Margin Top","blockspare"),value:N,onChange:B,min:0,max:100}),wp.element.createElement(cn,{label:rn("Margin Bottom","blockspare"),value:A,onChange:I,min:0,max:100}))))}wp.i18n.__,wp.element.Fragment,wp.components.RangeControl,wp.blockEditor.PanelColorSettings;var dn=n(10),mn=n.n(dn);const fn={ABeeZee:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Abel:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Abhaya Libre":{v:["regular","500","600","700","800"],subset:["latin-ext","sinhala","latin"],weight:["400","500","600","700","800"],i:["normal"]},"Abril Fatface":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aclonica:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Acme:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Actor:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Adamina:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Advent Pro":{v:["100","200","300","regular","500","600","700"],subset:["latin-ext","greek","latin"],weight:["100","200","300","400","500","600","700"],i:["normal"]},"Aguafina Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Akronim:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aladin:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Aldrich:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Alef:{v:["regular","700"],subset:["hebrew","latin"],weight:["400","700"],i:["normal"]},Alegreya:{v:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","700","800","900"],i:["normal","italic"]},"Alegreya SC":{v:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","700","800","900"],i:["normal","italic"]},"Alegreya Sans":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal","italic"]},"Alegreya Sans SC":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal","italic"]},"Alex Brush":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Alfa Slab One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Alice:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin"],weight:["400"],i:["normal"]},Alike:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Alike Angular":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Allan:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Allerta:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Allerta Stencil":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Allura:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Almendra:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Almendra Display":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Almendra SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Amarante:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Amaranth:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Amatic SC":{v:["regular","700"],subset:["cyrillic","latin-ext","hebrew","vietnamese","latin"],weight:["400","700"],i:["normal"]},Amethysta:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Amiko:{v:["regular","600","700"],subset:["latin-ext","devanagari","latin"],weight:["400","600","700"],i:["normal"]},Amiri:{v:["regular","italic","700","700italic"],subset:["latin-ext","arabic","latin"],weight:["400","700"],i:["normal","italic"]},Amita:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Anaheim:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Andada:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Andika:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Angkor:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Annie Use Your Telescope":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Anonymous Pro":{v:["regular","italic","700","700italic"],subset:["cyrillic","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Antic:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Antic Didone":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Antic Slab":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Anton:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Arapey:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Arbutus:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Arbutus Slab":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Architects Daughter":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Archivo:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Archivo Black":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Archivo Narrow":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Aref Ruqaa":{v:["regular","700"],subset:["arabic","latin"],weight:["400","700"],i:["normal"]},"Arima Madurai":{v:["100","200","300","regular","500","700","800","900"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["100","200","300","400","500","700","800","900"],i:["normal"]},Arimo:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Arizonia:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Armata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Arsenal:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Artifika:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Arvo:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Arya:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Asap:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Asap Condensed":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Asar:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Asset:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Assistant:{v:["200","300","regular","600","700","800"],subset:["hebrew","latin"],weight:["200","300","400","600","700","800"],i:["normal"]},Astloch:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Asul:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Athiti:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Atma:{v:["300","regular","500","600","700"],subset:["latin-ext","bengali","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Atomic Age":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Aubrey:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Audiowide:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Autour One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Average:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Average Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Averia Gruesa Libre":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Averia Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Averia Sans Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Averia Serif Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["300","400","700"],i:["normal","italic"]},"Bad Script":{v:["regular"],subset:["cyrillic","latin"],weight:["400"],i:["normal"]},Bahiana:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Baloo:{v:["regular"],subset:["latin-ext","devanagari","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhai":{v:["regular"],subset:["latin-ext","gujarati","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhaijaan":{v:["regular"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Bhaina":{v:["regular"],subset:["latin-ext","oriya","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Chettan":{v:["regular"],subset:["malayalam","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Da":{v:["regular"],subset:["latin-ext","vietnamese","bengali","latin"],weight:["400"],i:["normal"]},"Baloo Paaji":{v:["regular"],subset:["latin-ext","gurmukhi","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Tamma":{v:["regular"],subset:["latin-ext","vietnamese","latin","kannada"],weight:["400"],i:["normal"]},"Baloo Tammudu":{v:["regular"],subset:["latin-ext","telugu","vietnamese","latin"],weight:["400"],i:["normal"]},"Baloo Thambi":{v:["regular"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["400"],i:["normal"]},Balthazar:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bangers:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Barlow:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Barlow Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Barlow Semi Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Barrio:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Basic:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Battambang:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},Baumans:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bayon:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Belgrano:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bellefair:{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},Belleza:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},BenchNine:{v:["300","regular","700"],subset:["latin-ext","latin"],weight:["300","400","700"],i:["normal"]},Bentham:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Berkshire Swash":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Bevan:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bigelow Rules":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bigshot One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Bilbo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bilbo Swash Caps":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},BioRhyme:{v:["200","300","regular","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal"]},"BioRhyme Expanded":{v:["200","300","regular","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal"]},Biryani:{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},Bitter:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Black And White Picture":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Black Han Sans":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Black Ops One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Bokor:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Bonbon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Boogaloo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bowlby One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bowlby One SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Brawler:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Bree Serif":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bubblegum Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Bubbler One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Buda:{v:["300"],subset:["latin"],weight:["300"],i:[]},Buenard:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Bungee:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Hairline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Inline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Outline":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Bungee Shade":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Butcherman:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Butterfly Kids":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cabin:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Cabin Condensed":{v:["regular","500","600","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal"]},"Cabin Sketch":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Caesar Dressing":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cagliostro:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cairo:{v:["200","300","regular","600","700","900"],subset:["latin-ext","arabic","latin"],weight:["200","300","400","600","700","900"],i:["normal"]},Calligraffitti:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cambay:{v:["regular","italic","700","700italic"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal","italic"]},Cambo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Candal:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cantarell:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Cantata One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cantora One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Capriola:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cardo:{v:["regular","italic","700"],subset:["greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Carme:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carrois Gothic":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carrois Gothic SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Carter One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Catamaran:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","tamil","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Caudex:{v:["regular","italic","700","700italic"],subset:["greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Caveat:{v:["regular","700"],subset:["cyrillic","latin-ext","latin"],weight:["400","700"],i:["normal"]},"Caveat Brush":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cedarville Cursive":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Ceviche One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Changa:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","arabic","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Changa One":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Chango:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chathura:{v:["100","300","regular","700","800"],subset:["telugu","latin"],weight:["100","300","400","700","800"],i:["normal"]},"Chau Philomene One":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Chela One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Chelsea Market":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chenla:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Cherry Cream Soda":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Cherry Swash":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Chewy:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Chicle:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Chivo:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["300","400","700","900"],i:["normal","italic"]},Chonburi:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},Cinzel:{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},"Cinzel Decorative":{v:["regular","700","900"],subset:["latin"],weight:["400","700","900"],i:["normal"]},"Clicker Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Coda:{v:["regular","800"],subset:["latin-ext","latin"],weight:["400","800"],i:["normal"]},"Coda Caption":{v:["800"],subset:["latin-ext","latin"],weight:["800"],i:[]},Codystar:{v:["300","regular"],subset:["latin-ext","latin"],weight:["300","400"],i:["normal"]},Coiny:{v:["regular"],subset:["latin-ext","tamil","vietnamese","latin"],weight:["400"],i:["normal"]},Combo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Comfortaa:{v:["300","regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","700"],i:["normal"]},"Coming Soon":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Concert One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Condiment:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Content:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},"Contrail One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Convergence:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cookie:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Copse:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Corben:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Cormorant:{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant Garamond":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant Infant":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Cormorant SC":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Cormorant Unicase":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Cormorant Upright":{v:["300","regular","500","600","700"],subset:["latin-ext","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},Courgette:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Cousine:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Coustard:{v:["regular","900"],subset:["latin"],weight:["400","900"],i:["normal"]},"Covered By Your Grace":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Crafty Girls":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Creepster:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Crete Round":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Crimson Text":{v:["regular","italic","600","600italic","700","700italic"],subset:["latin"],weight:["400","600","700"],i:["normal","italic"]},"Croissant One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Crushed:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Cuprum:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Cute Font":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Cutive:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Cutive Mono":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Damion:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Dancing Script":{v:["regular","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal"]},Dangrek:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"David Libre":{v:["regular","500","700"],subset:["latin-ext","hebrew","vietnamese","latin"],weight:["400","500","700"],i:["normal"]},"Dawning of a New Day":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Days One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Dekko:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Delius:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Delius Swash Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Delius Unicase":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Della Respira":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Denk One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Devonshire:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dhurjati:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Didact Gothic":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},Diplomata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Diplomata SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Do Hyeon":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Dokdo:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Domine:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Donegal One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Doppio One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dorsa:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Dosis:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Dr Sugiyama":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Duru Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Dynalight:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"EB Garamond":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","500","600","700","800"],i:["normal","italic"]},"Eagle Lake":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"East Sea Dokdo":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Eater:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Economica:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Eczar:{v:["regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800"],i:["normal"]},"El Messiri":{v:["regular","500","600","700"],subset:["cyrillic","arabic","latin"],weight:["400","500","600","700"],i:["normal"]},Electrolize:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Elsie:{v:["regular","900"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal"]},"Elsie Swash Caps":{v:["regular","900"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal"]},"Emblema One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Emilys Candy":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Encode Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Expanded":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Semi Expanded":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Engagement:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Englebert:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Enriqueta:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Erica One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Esteban:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Euphoria Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ewert:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Exo:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Exo 2":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Expletus Sans":{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin"],weight:["400","500","600","700"],i:["normal","italic"]},"Fanwood Text":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Farsan:{v:["regular"],subset:["latin-ext","gujarati","vietnamese","latin"],weight:["400"],i:["normal"]},Fascinate:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fascinate Inline":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Faster One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fasthand:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Fauna One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Faustina:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Federant:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Federo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Felipa:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Fenix:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Finger Paint":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fira Mono":{v:["regular","500","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400","500","700"],i:["normal"]},"Fira Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fira Sans Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fira Sans Extra Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fjalla One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fjord One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Flamenco:{v:["300","regular"],subset:["latin"],weight:["300","400"],i:["normal"]},Flavors:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fondamento:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Fontdiner Swanky":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Forum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},"Francois One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Frank Ruhl Libre":{v:["300","regular","500","700","900"],subset:["latin-ext","hebrew","latin"],weight:["300","400","500","700","900"],i:["normal"]},"Freckle Face":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fredericka the Great":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Fredoka One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Freehand:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Fresca:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Frijole:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Fruktur:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Fugaz One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"GFS Didot":{v:["regular"],subset:["greek"],weight:["400"],i:["normal"]},"GFS Neohellenic":{v:["regular","italic","700","700italic"],subset:["greek"],weight:["400","700"],i:["normal","italic"]},Gabriela:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin"],weight:["400"],i:["normal"]},Gaegu:{v:["300","regular","700"],subset:["korean","latin"],weight:["300","400","700"],i:["normal"]},Gafata:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Galada:{v:["regular"],subset:["bengali","latin"],weight:["400"],i:["normal"]},Galdeano:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Galindo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Gamja Flower":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Gentium Basic":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Gentium Book Basic":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Geo:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Geostar:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Geostar Fill":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Germania One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Gidugu:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Gilda Display":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Give You Glory":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Glass Antiqua":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Glegoo:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},"Gloria Hallelujah":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Goblin One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Gochi Hand":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Gorditas:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Gothic A1":{v:["100","200","300","regular","500","600","700","800","900"],subset:["korean","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Goudy Bookletter 1911":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Graduate:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Grand Hotel":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Gravitas One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Great Vibes":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Griffy:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Gruppo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Gudea:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Gugi:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Gurajada:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Habibi:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Halant:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hammersmith One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Hanalei:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Hanalei Fill":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Handlee:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Hanuman:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},"Happy Monkey":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Harmattan:{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},"Headland One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Heebo:{v:["100","300","regular","500","700","800","900"],subset:["hebrew","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},"Henny Penny":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Herr Von Muellerhoff":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Hi Melody":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Hind:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Guntur":{v:["300","regular","500","600","700"],subset:["latin-ext","telugu","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Madurai":{v:["300","regular","500","600","700"],subset:["latin-ext","tamil","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Siliguri":{v:["300","regular","500","600","700"],subset:["latin-ext","bengali","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Hind Vadodara":{v:["300","regular","500","600","700"],subset:["latin-ext","gujarati","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Holtwood One SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Homemade Apple":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Homenaje:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IBM Plex Mono":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Serif":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700"],i:["normal","italic"]},"IM Fell DW Pica":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell DW Pica SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell Double Pica":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell Double Pica SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell English":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell English SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell French Canon":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell French Canon SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"IM Fell Great Primer":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"IM Fell Great Primer SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Iceberg:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Iceland:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Imprima:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Inconsolata:{v:["regular","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal"]},Inder:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Indie Flower":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Inika:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Inknut Antiqua":{v:["300","regular","500","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700","800","900"],i:["normal"]},"Irish Grover":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Istok Web":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Italiana:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Italianno:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Itim:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},"Jacques Francois":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Jacques Francois Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Jaldi:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},"Jim Nightshade":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Jockey One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Jolly Lodger":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Jomhuria:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},"Josefin Sans":{v:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["100","300","400","600","700"],i:["normal","italic"]},"Josefin Slab":{v:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin"],weight:["100","300","400","600","700"],i:["normal","italic"]},"Joti One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Jua:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Judson:{v:["regular","italic","700"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Julee:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Julius Sans One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Junge:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Jura:{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Just Another Hand":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Just Me Again Down Here":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kadwa:{v:["regular","700"],subset:["devanagari","latin"],weight:["400","700"],i:["normal"]},Kalam:{v:["300","regular","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","700"],i:["normal"]},Kameron:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Kanit:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Kantumruy:{v:["300","regular","700"],subset:["khmer"],weight:["300","400","700"],i:["normal"]},Karla:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Karma:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Katibeh:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},"Kaushan Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kavivanar:{v:["regular"],subset:["latin-ext","tamil","latin"],weight:["400"],i:["normal"]},Kavoon:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kdam Thmor":{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Keania One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kelly Slab":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Kenia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Khand:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Khmer:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Khula:{v:["300","regular","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["300","400","600","700","800"],i:["normal"]},"Kirang Haerang":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Kite One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Knewave:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Kosugi:{v:["regular"],subset:["cyrillic","japanese","latin"],weight:["400"],i:["normal"]},"Kosugi Maru":{v:["regular"],subset:["cyrillic","japanese","latin"],weight:["400"],i:["normal"]},"Kotta One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Koulen:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Kranky:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Kreon:{v:["300","regular","700"],subset:["latin"],weight:["300","400","700"],i:["normal"]},Kristi:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Krona One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Kumar One":{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},"Kumar One Outline":{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Kurale:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},"La Belle Aurore":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Laila:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},"Lakki Reddy":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Lalezar:{v:["regular"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400"],i:["normal"]},Lancelot:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Lateef:{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},Lato:{v:["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","300","400","700","900"],i:["normal","italic"]},"League Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Leckerli One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ledger:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Lekton:{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Lemon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Lemonada:{v:["300","regular","600","700"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["300","400","600","700"],i:["normal"]},"Libre Barcode 128":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 128 Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Extended":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Extended Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Barcode 39 Text":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Libre Baskerville":{v:["regular","italic","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Libre Franklin":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Life Savers":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Lilita One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Lily Script One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Limelight:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Linden Hill":{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Lobster:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Lobster Two":{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Londrina Outline":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Sketch":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Londrina Solid":{v:["100","300","regular","900"],subset:["latin"],weight:["100","300","400","900"],i:["normal"]},Lora:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Love Ya Like A Sister":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Loved by the King":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Lovers Quarrel":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Luckiest Guy":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Lusitana:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Lustria:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"M PLUS 1p":{v:["100","300","regular","500","700","800","900"],subset:["cyrillic","cyrillic-ext","greek-ext","japanese","latin-ext","hebrew","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},"M PLUS Rounded 1c":{v:["100","300","regular","500","700","800","900"],subset:["cyrillic","cyrillic-ext","greek-ext","japanese","latin-ext","hebrew","greek","vietnamese","latin"],weight:["100","300","400","500","700","800","900"],i:["normal"]},Macondo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Macondo Swash Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mada:{v:["200","300","regular","500","600","700","900"],subset:["arabic","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},Magra:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Maiden Orange":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Maitree:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Mako:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mallanna:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Mandali:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Manuale:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","600","700"],i:["normal","italic"]},Marcellus:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Marcellus SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Marck Script":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Margarine:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Markazi Text":{v:["regular","500","600","700"],subset:["latin-ext","arabic","vietnamese","latin"],weight:["400","500","600","700"],i:["normal"]},"Marko One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Marmelad:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Martel:{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},"Martel Sans":{v:["200","300","regular","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","600","700","800","900"],i:["normal"]},Marvel:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Mate:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},"Mate SC":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Maven Pro":{v:["regular","500","700","900"],subset:["latin-ext","vietnamese","latin"],weight:["400","500","700","900"],i:["normal"]},McLaren:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Meddon:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},MedievalSharp:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Medula One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Meera Inimai":{v:["regular"],subset:["tamil","latin"],weight:["400"],i:["normal"]},Megrim:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Meie Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Merienda:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Merienda One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Merriweather:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["300","400","700","900"],i:["normal","italic"]},"Merriweather Sans":{v:["300","300italic","regular","italic","700","700italic","800","800italic"],subset:["latin-ext","latin"],weight:["300","400","700","800"],i:["normal","italic"]},Metal:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Metal Mania":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Metamorphous:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Metrophobic:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Michroma:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Milonga:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Miltonian:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Miltonian Tattoo":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Mina:{v:["regular","700"],subset:["latin-ext","bengali","latin"],weight:["400","700"],i:["normal"]},Miniver:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Miriam Libre":{v:["regular","700"],subset:["latin-ext","hebrew","latin"],weight:["400","700"],i:["normal"]},Mirza:{v:["regular","500","600","700"],subset:["latin-ext","arabic","latin"],weight:["400","500","600","700"],i:["normal"]},"Miss Fajardose":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mitr:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},Modak:{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},"Modern Antiqua":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mogra:{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Molengo:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Molle:{v:["italic"],subset:["latin-ext","latin"],weight:[],i:["italic"]},Monda:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Monofett:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Monoton:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Monsieur La Doulaise":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Montaga:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Montez:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Montserrat:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Alternates":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Subrayada":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Moul:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Moulpali:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Mountains of Christmas":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Mouse Memoirs":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr Bedfort":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr Dafoe":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mr De Haviland":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mrs Saint Delafield":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Mrs Sheppards":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Mukta:{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Mahee":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","gurmukhi","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Malar":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","tamil","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},"Mukta Vaani":{v:["200","300","regular","500","600","700","800"],subset:["latin-ext","gujarati","latin"],weight:["200","300","400","500","600","700","800"],i:["normal"]},Muli:{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Mystery Quest":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},NTR:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Nanum Brush Script":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Nanum Gothic":{v:["regular","700","800"],subset:["korean","latin"],weight:["400","700","800"],i:["normal"]},"Nanum Gothic Coding":{v:["regular","700"],subset:["korean","latin"],weight:["400","700"],i:["normal"]},"Nanum Myeongjo":{v:["regular","700","800"],subset:["korean","latin"],weight:["400","700","800"],i:["normal"]},"Nanum Pen Script":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Neucha:{v:["regular"],subset:["cyrillic","latin"],weight:["400"],i:["normal"]},Neuton:{v:["200","300","regular","italic","700","800"],subset:["latin-ext","latin"],weight:["200","300","400","700","800"],i:["normal","italic"]},"New Rocker":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"News Cycle":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},Niconne:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Nixie One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Nobile:{v:["regular","italic","500","500italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","500","700"],i:["normal","italic"]},Nokora:{v:["regular","700"],subset:["khmer"],weight:["400","700"],i:["normal"]},Norican:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Nosifer:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Nothing You Could Do":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Noticia Text":{v:["regular","italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","devanagari","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Sans JP":{v:["100","300","regular","500","700","900"],subset:["japanese","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Noto Sans KR":{v:["100","300","regular","500","700","900"],subset:["korean","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Noto Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Noto Serif JP":{v:["200","300","regular","500","600","700","900"],subset:["japanese","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Noto Serif KR":{v:["200","300","regular","500","600","700","900"],subset:["korean","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Nova Cut":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Flat":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Mono":{v:["regular"],subset:["greek","latin"],weight:["400"],i:["normal"]},"Nova Oval":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Round":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Slim":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Nova Square":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Numans:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Nunito:{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Nunito Sans":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","vietnamese","latin"],weight:["200","300","400","600","700","800","900"],i:["normal","italic"]},"Odor Mean Chey":{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Offside:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Old Standard TT":{v:["regular","italic","700"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Oldenburg:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Oleo Script":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Oleo Script Swash Caps":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Open Sans":{v:["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","600","700","800"],i:["normal","italic"]},"Open Sans Condensed":{v:["300","300italic","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","700"],i:[]},Oranienbaum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},Orbitron:{v:["regular","500","700","900"],subset:["latin"],weight:["400","500","700","900"],i:["normal"]},Oregano:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Orienta:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Original Surfer":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Oswald:{v:["200","300","regular","500","600","700"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},"Over the Rainbow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Overlock:{v:["regular","italic","700","700italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal","italic"]},"Overlock SC":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Overpass:{v:["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","600","700","800","900"],i:["normal","italic"]},"Overpass Mono":{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},Ovo:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Oxygen:{v:["300","regular","700"],subset:["latin-ext","latin"],weight:["300","400","700"],i:["normal"]},"Oxygen Mono":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"PT Mono":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal"]},"PT Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"PT Sans Caption":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal"]},"PT Sans Narrow":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal"]},"PT Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"PT Serif Caption":{v:["regular","italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400"],i:["normal","italic"]},Pacifico:{v:["regular"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Padauk:{v:["regular","700"],subset:["myanmar","latin"],weight:["400","700"],i:["normal"]},Palanquin:{v:["100","200","300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["100","200","300","400","500","600","700"],i:["normal"]},"Palanquin Dark":{v:["regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700"],i:["normal"]},Pangolin:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Paprika:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Parisienne:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Passero One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Passion One":{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},"Pathway Gothic One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Patrick Hand":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Patrick Hand SC":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Pattaya:{v:["regular"],subset:["cyrillic","latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},"Patua One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Pavanam:{v:["regular"],subset:["latin-ext","tamil","latin"],weight:["400"],i:["normal"]},"Paytone One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Peddana:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Peralta:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Permanent Marker":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Petit Formal Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Petrona:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Philosopher:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},Piedra:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Pinyon Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pirata One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Plaster:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Play:{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["400","700"],i:["normal"]},Playball:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Playfair Display":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400","700","900"],i:["normal","italic"]},"Playfair Display SC":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["400","700","900"],i:["normal","italic"]},Podkova:{v:["regular","500","600","700","800"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","500","600","700","800"],i:["normal"]},"Poiret One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Poller One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Poly:{v:["regular","italic"],subset:["latin"],weight:["400"],i:["normal","italic"]},Pompiere:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pontano Sans":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Poor Story":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},Poppins:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","devanagari","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Port Lligat Sans":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Port Lligat Slab":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Pragati Narrow":{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Prata:{v:["regular"],subset:["cyrillic","cyrillic-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Preahvihear:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Press Start 2P":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},Pridi:{v:["200","300","regular","500","600","700"],subset:["latin-ext","thai","vietnamese","latin"],weight:["200","300","400","500","600","700"],i:["normal"]},"Princess Sofia":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Prociono:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Prompt:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Prosto One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Proza Libre":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["latin-ext","latin"],weight:["400","500","600","700","800"],i:["normal","italic"]},Puritan:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},"Purple Purse":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Quando:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Quantico:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Quattrocento:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Quattrocento Sans":{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Questrial:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Quicksand:{v:["300","regular","500","700"],subset:["latin-ext","vietnamese","latin"],weight:["300","400","500","700"],i:["normal"]},Quintessential:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Qwigley:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Racing Sans One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Radley:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Rajdhani:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Rakkas:{v:["regular"],subset:["latin-ext","arabic","latin"],weight:["400"],i:["normal"]},Raleway:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Raleway Dots":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ramabhadra:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Ramaraja:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Rambla:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Rammetto One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ranchers:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Rancho:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ranga:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Rasa:{v:["300","regular","500","600","700"],subset:["latin-ext","gujarati","latin"],weight:["300","400","500","600","700"],i:["normal"]},Rationale:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Ravi Prakash":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Redressed:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Reem Kufi":{v:["regular"],subset:["arabic","latin"],weight:["400"],i:["normal"]},"Reenie Beanie":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Revalia:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Rhodium Libre":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Ribeye:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ribeye Marrow":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Righteous:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Risque:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Roboto:{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700","900"],i:["normal","italic"]},"Roboto Condensed":{v:["300","300italic","regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["300","400","700"],i:["normal","italic"]},"Roboto Mono":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","500","700"],i:["normal","italic"]},"Roboto Slab":{v:["100","300","regular","700"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["100","300","400","700"],i:["normal"]},Rochester:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Rock Salt":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Rokkitt:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Romanesco:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ropa Sans":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Rosario:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Rosarivo:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Rouge Script":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Rozha One":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Rubik:{v:["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],subset:["cyrillic","latin-ext","hebrew","latin"],weight:["300","400","500","700","900"],i:["normal","italic"]},"Rubik Mono One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Ruda:{v:["regular","700","900"],subset:["latin-ext","latin"],weight:["400","700","900"],i:["normal"]},Rufina:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Ruge Boogie":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Ruluko:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Rum Raisin":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Ruslan Display":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Russo One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},Ruthie:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Rye:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sacramento:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sahitya:{v:["regular","700"],subset:["devanagari","latin"],weight:["400","700"],i:["normal"]},Sail:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Saira:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Extra Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},Salsa:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sanchez:{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},Sancreek:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sansita:{v:["regular","italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","700","800","900"],i:["normal","italic"]},Sarala:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Sarina:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Sarpanch:{v:["regular","500","600","700","800","900"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800","900"],i:["normal"]},Satisfy:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Sawarabi Gothic":{v:["regular"],subset:["cyrillic","japanese","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Sawarabi Mincho":{v:["regular"],subset:["japanese","latin-ext","latin"],weight:["400"],i:["normal"]},Scada:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},Scheherazade:{v:["regular","700"],subset:["arabic","latin"],weight:["400","700"],i:["normal"]},Schoolbell:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Scope One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Seaweed Script":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Secular One":{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},"Sedgwick Ave":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Sedgwick Ave Display":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Sevillana:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Seymour One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Shadows Into Light":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Shadows Into Light Two":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Shanti:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Share:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},"Share Tech":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Share Tech Mono":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Shojumaru:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Short Stack":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Shrikhand:{v:["regular"],subset:["latin-ext","gujarati","latin"],weight:["400"],i:["normal"]},Siemreap:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Sigmar One":{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Signika:{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},"Signika Negative":{v:["300","regular","600","700"],subset:["latin-ext","latin"],weight:["300","400","600","700"],i:["normal"]},Simonetta:{v:["regular","italic","900","900italic"],subset:["latin-ext","latin"],weight:["400","900"],i:["normal","italic"]},Sintony:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Sirin Stencil":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Six Caps":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Skranji:{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]},"Slabo 13px":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Slabo 27px":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Slackey:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Smokum:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Smythe:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sniglet:{v:["regular","800"],subset:["latin-ext","latin"],weight:["400","800"],i:["normal"]},Snippet:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Snowburst One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Sofadi One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sofia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Song Myung":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Sonsie One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Sorts Mill Goudy":{v:["regular","italic"],subset:["latin-ext","latin"],weight:["400"],i:["normal","italic"]},"Source Code Pro":{v:["200","300","regular","500","600","700","900"],subset:["latin-ext","latin"],weight:["200","300","400","500","600","700","900"],i:["normal"]},"Source Sans Pro":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","vietnamese","latin"],weight:["200","300","400","600","700","900"],i:["normal","italic"]},"Source Serif Pro":{v:["regular","600","700"],subset:["latin-ext","latin"],weight:["400","600","700"],i:["normal"]},"Space Mono":{v:["regular","italic","700","700italic"],subset:["latin-ext","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Special Elite":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Spectral:{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700","800"],i:["normal","italic"]},"Spectral SC":{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","500","600","700","800"],i:["normal","italic"]},"Spicy Rice":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Spinnaker:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Spirax:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Squada One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Sree Krushnadevaraya":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Sriracha:{v:["regular"],subset:["latin-ext","thai","vietnamese","latin"],weight:["400"],i:["normal"]},Stalemate:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Stalinist One":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Stardos Stencil":{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},"Stint Ultra Condensed":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Stint Ultra Expanded":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Stoke:{v:["300","regular"],subset:["latin-ext","latin"],weight:["300","400"],i:["normal"]},Strait:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Stylish:{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Sue Ellen Francisco":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Suez One":{v:["regular"],subset:["latin-ext","hebrew","latin"],weight:["400"],i:["normal"]},Sumana:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Sunflower:{v:["300","500","700"],subset:["korean","latin"],weight:["300","500","700"],i:[]},Sunshiney:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Supermercado One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Sura:{v:["regular","700"],subset:["latin-ext","devanagari","latin"],weight:["400","700"],i:["normal"]},Suranna:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Suravaram:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Suwannaphum:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},"Swanky and Moo Moo":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Syncopate:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Tajawal:{v:["200","300","regular","500","700","800","900"],subset:["arabic","latin"],weight:["200","300","400","500","700","800","900"],i:["normal"]},Tangerine:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Taprom:{v:["regular"],subset:["khmer"],weight:["400"],i:["normal"]},Tauri:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Taviraj:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Teko:{v:["300","regular","500","600","700"],subset:["latin-ext","devanagari","latin"],weight:["300","400","500","600","700"],i:["normal"]},Telex:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Tenali Ramakrishna":{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},"Tenor Sans":{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Text Me One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"The Girl Next Door":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Tienne:{v:["regular","700","900"],subset:["latin"],weight:["400","700","900"],i:["normal"]},Tillana:{v:["regular","500","600","700","800"],subset:["latin-ext","devanagari","latin"],weight:["400","500","600","700","800"],i:["normal"]},Timmana:{v:["regular"],subset:["telugu","latin"],weight:["400"],i:["normal"]},Tinos:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","hebrew","greek","vietnamese","latin"],weight:["400","700"],i:["normal","italic"]},"Titan One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Titillium Web":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],subset:["latin-ext","latin"],weight:["200","300","400","600","700","900"],i:["normal","italic"]},"Trade Winds":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Trirong:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin-ext","thai","vietnamese","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Trocchi:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Trochut:{v:["regular","italic","700"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Trykker:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Tulpen One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Ubuntu:{v:["300","300italic","regular","italic","500","500italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["300","400","500","700"],i:["normal","italic"]},"Ubuntu Condensed":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400"],i:["normal"]},"Ubuntu Mono":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek-ext","latin-ext","greek","latin"],weight:["400","700"],i:["normal","italic"]},Ultra:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Uncial Antiqua":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Underdog:{v:["regular"],subset:["cyrillic","latin-ext","latin"],weight:["400"],i:["normal"]},"Unica One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},UnifrakturCook:{v:["700"],subset:["latin"],weight:["700"],i:[]},UnifrakturMaguntia:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Unkempt:{v:["regular","700"],subset:["latin"],weight:["400","700"],i:["normal"]},Unlock:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Unna:{v:["regular","italic","700","700italic"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal","italic"]},VT323:{v:["regular"],subset:["latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},"Vampiro One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Varela:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Varela Round":{v:["regular"],subset:["latin-ext","hebrew","vietnamese","latin"],weight:["400"],i:["normal"]},"Vast Shadow":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Vesper Libre":{v:["regular","500","700","900"],subset:["latin-ext","devanagari","latin"],weight:["400","500","700","900"],i:["normal"]},Vibur:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Vidaloka:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Viga:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Voces:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Volkhov:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["400","700"],i:["normal","italic"]},Vollkorn:{v:["regular","italic","600","600italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin-ext","greek","vietnamese","latin"],weight:["400","600","700","900"],i:["normal","italic"]},"Vollkorn SC":{v:["regular","600","700","900"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400","600","700","900"],i:["normal"]},Voltaire:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Waiting for the Sunrise":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Wallpoet:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Walter Turncoat":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Warnes:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},Wellfleet:{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Wendy One":{v:["regular"],subset:["latin-ext","latin"],weight:["400"],i:["normal"]},"Wire One":{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Work Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin-ext","latin"],weight:["100","200","300","400","500","600","700","800","900"],i:["normal"]},"Yanone Kaffeesatz":{v:["200","300","regular","700"],subset:["cyrillic","latin-ext","vietnamese","latin"],weight:["200","300","400","700"],i:["normal"]},Yantramanav:{v:["100","300","regular","500","700","900"],subset:["latin-ext","devanagari","latin"],weight:["100","300","400","500","700","900"],i:["normal"]},"Yatra One":{v:["regular"],subset:["latin-ext","devanagari","latin"],weight:["400"],i:["normal"]},Yellowtail:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Yeon Sung":{v:["regular"],subset:["korean","latin"],weight:["400"],i:["normal"]},"Yeseva One":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin-ext","vietnamese","latin"],weight:["400"],i:["normal"]},Yesteryear:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},Yrsa:{v:["300","regular","500","600","700"],subset:["latin-ext","latin"],weight:["300","400","500","600","700"],i:["normal"]},Zeyada:{v:["regular"],subset:["latin"],weight:["400"],i:["normal"]},"Zilla Slab":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin-ext","latin"],weight:["300","400","500","600","700"],i:["normal","italic"]},"Zilla Slab Highlight":{v:["regular","700"],subset:["latin-ext","latin"],weight:["400","700"],i:["normal"]}};var bn=fn,gn=n(3),hn=n.n(gn);function yn(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var vn=function(e,t){var n;void 0===t&&(t=yn);var a,r=[],o=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return o&&n===this&&t(i,r)||(a=e.apply(this,i),o=!0,n=this,r=i),a}},wn=n(263),kn=n.n(wn);var _n=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var a=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(a);try{var o=105===e.charCodeAt(1)&&64===e.charCodeAt(0);r.insertRule(e,o?0:r.cssRules.length)}catch(e){0}}else a.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var Sn=function(e){function t(e,t,a){var r=t.trim().split(f);t=r;var o=r.length,i=e.length;switch(i){case 0:case 1:var l=0;for(e=0===i?"":e[0]+" ";l<o;++l)t[l]=n(e,t[l],a).trim();break;default:var s=l=0;for(t=[];l<o;++l)for(var c=0;c<i;++c)t[s++]=n(e[c]+" ",r[l],a).trim()}return t}function n(e,t,n){var a=t.charCodeAt(0);switch(33>a&&(a=(t=t.trim()).charCodeAt(0)),a){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function a(e,t,n,o){var i=e+";",l=2*t+3*n+4*o;if(944===l){e=i.indexOf(":",9)+1;var s=i.substring(e,i.length-1).trim();return s=i.substring(0,e).trim()+s+";",1===L||2===L&&r(s,1)?"-webkit-"+s+s:s}if(0===L||2===L&&!r(i,1))return i;switch(l){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(T,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(s=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+s+i;case 1005:return d.test(i)?i.replace(p,":-webkit-")+i.replace(p,":-moz-")+i:i;case 1e3:switch(t=(s=i.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=i.replace(v,"tb");break;case 232:s=i.replace(v,"tb-rl");break;case 220:s=i.replace(v,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+s+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,l=(s=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:i=i.replace(s,"-webkit-"+s)+";"+i;break;case 207:case 102:i=i.replace(s,"-webkit-"+(102<l?"inline-":"")+"box")+";"+i.replace(s,"-webkit-"+s)+";"+i.replace(s,"-ms-"+s+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return s=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+s+"-ms-flex-"+s+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(_,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(_,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===E.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?a(e.replace("stretch","fill-available"),t,n,o).replace(":fill-available",":stretch"):i.replace(s,"-webkit-"+s)+i.replace(s,"-moz-"+s.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===n+o&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+i}return i}function r(e,t){var n=e.indexOf(1===t?":":"{"),a=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),F(2!==t?a:a.replace(S,"$1"),n,t)}function o(e,t){var n=a(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(k," or ($1)").substring(4):"("+t+")"}function i(e,t,n,a,r,o,i,l,c,u){for(var p,d=0,m=t;d<j;++d)switch(p=D[d].call(s,e,m,n,a,r,o,i,l,c,u)){case void 0:case!1:case!0:case null:break;default:m=p}if(m!==t)return m}function l(e){return void 0!==(e=e.prefix)&&(F=null,e?"function"!=typeof e?L=1:(L=2,F=e):L=0),l}function s(e,n){var l=e;if(33>l.charCodeAt(0)&&(l=l.trim()),l=[l],0<j){var s=i(-1,n,l,l,M,x,0,0,0,0);void 0!==s&&"string"==typeof s&&(n=s)}var p=function e(n,l,s,p,d){for(var m,f,b,v,k,_=0,S=0,E=0,T=0,D=0,F=0,Y=b=m=0,N=0,z=0,B=0,A=0,H=s.length,I=H-1,R="",W="",U="",G="";N<H;){if(f=s.charCodeAt(N),N===I&&0!==S+T+E+_&&(0!==S&&(f=47===S?10:47),T=E=_=0,H++,I++),0===S+T+E+_){if(N===I&&(0<z&&(R=R.replace(u,"")),0<R.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:R+=s.charAt(N)}f=59}switch(f){case 123:for(m=(R=R.trim()).charCodeAt(0),b=1,A=++N;N<H;){switch(f=s.charCodeAt(N)){case 123:b++;break;case 125:b--;break;case 47:switch(f=s.charCodeAt(N+1)){case 42:case 47:e:{for(Y=N+1;Y<I;++Y)switch(s.charCodeAt(Y)){case 47:if(42===f&&42===s.charCodeAt(Y-1)&&N+2!==Y){N=Y+1;break e}break;case 10:if(47===f){N=Y+1;break e}}N=Y}}break;case 91:f++;case 40:f++;case 34:case 39:for(;N++<I&&s.charCodeAt(N)!==f;);}if(0===b)break;N++}switch(b=s.substring(A,N),0===m&&(m=(R=R.replace(c,"").trim()).charCodeAt(0)),m){case 64:switch(0<z&&(R=R.replace(u,"")),f=R.charCodeAt(1)){case 100:case 109:case 115:case 45:z=l;break;default:z=O}if(A=(b=e(l,z,b,f,d+1)).length,0<j&&(k=i(3,b,z=t(O,R,B),l,M,x,A,f,d,p),R=z.join(""),void 0!==k&&0===(A=(b=k.trim()).length)&&(f=0,b="")),0<A)switch(f){case 115:R=R.replace(w,o);case 100:case 109:case 45:b=R+"{"+b+"}";break;case 107:b=(R=R.replace(g,"$1 $2"))+"{"+b+"}",b=1===L||2===L&&r("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=R+b,112===p&&(W+=b,b="")}else b="";break;default:b=e(l,t(l,R,B),b,p,d+1)}U+=b,b=B=z=Y=m=0,R="",f=s.charCodeAt(++N);break;case 125:case 59:if(1<(A=(R=(0<z?R.replace(u,""):R).trim()).length))switch(0===Y&&(m=R.charCodeAt(0),45===m||96<m&&123>m)&&(A=(R=R.replace(" ",":")).length),0<j&&void 0!==(k=i(1,R,l,n,M,x,W.length,p,d,p))&&0===(A=(R=k.trim()).length)&&(R="\0\0"),m=R.charCodeAt(0),f=R.charCodeAt(1),m){case 0:break;case 64:if(105===f||99===f){G+=R+s.charAt(N);break}default:58!==R.charCodeAt(A-1)&&(W+=a(R,m,f,R.charCodeAt(2)))}B=z=Y=m=0,R="",f=s.charCodeAt(++N)}}switch(f){case 13:case 10:47===S?S=0:0===1+m&&107!==p&&0<R.length&&(z=1,R+="\0"),0<j*P&&i(0,R,l,n,M,x,W.length,p,d,p),x=1,M++;break;case 59:case 125:if(0===S+T+E+_){x++;break}default:switch(x++,v=s.charAt(N),f){case 9:case 32:if(0===T+_+S)switch(D){case 44:case 58:case 9:case 32:v="";break;default:32!==f&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===T+S+_&&(z=B=1,v="\f"+v);break;case 108:if(0===T+S+_+C&&0<Y)switch(N-Y){case 2:112===D&&58===s.charCodeAt(N-3)&&(C=D);case 8:111===F&&(C=F)}break;case 58:0===T+S+_&&(Y=N);break;case 44:0===S+E+T+_&&(z=1,v+="\r");break;case 34:case 39:0===S&&(T=T===f?0:0===T?f:T);break;case 91:0===T+S+E&&_++;break;case 93:0===T+S+E&&_--;break;case 41:0===T+S+_&&E--;break;case 40:if(0===T+S+_){if(0===m)switch(2*D+3*F){case 533:break;default:m=1}E++}break;case 64:0===S+E+T+_+Y+b&&(b=1);break;case 42:case 47:if(!(0<T+_+E))switch(S){case 0:switch(2*f+3*s.charCodeAt(N+1)){case 235:S=47;break;case 220:A=N,S=42}break;case 42:47===f&&42===D&&A+2!==N&&(33===s.charCodeAt(A+2)&&(W+=s.substring(A,N+1)),v="",S=0)}}0===S&&(R+=v)}F=D,D=f,N++}if(0<(A=W.length)){if(z=l,0<j&&(void 0!==(k=i(2,W,z,n,M,x,A,p,d,p))&&0===(W=k).length))return G+W+U;if(W=z.join(",")+"{"+W+"}",0!=L*C){switch(2!==L||r(W,2)||(C=0),C){case 111:W=W.replace(y,":-moz-$1")+W;break;case 112:W=W.replace(h,"::-webkit-input-$1")+W.replace(h,"::-moz-$1")+W.replace(h,":-ms-input-$1")+W}C=0}}return G+W+U}(O,l,n,0,0);return 0<j&&(void 0!==(s=i(-2,p,l,l,M,x,p.length,0,0,0))&&(p=s)),"",C=0,x=M=1,p}var c=/^\0+/g,u=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,m=/([,: ])(transform)/g,f=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,h=/::(place)/g,y=/:(read-only)/g,v=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,_=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,E=/stretch|:\s*\w+\-(?:conte|avail)/,T=/([^-])(image-set\()/,x=1,M=1,C=0,L=1,O=[],D=[],j=0,F=null,P=0;return s.use=function e(t){switch(t){case void 0:case null:j=D.length=0;break;default:if("function"==typeof t)D[j++]=t;else if("object"==typeof t)for(var n=0,a=t.length;n<a;++n)e(t[n]);else P=0|!!t}return e},s.set=l,void 0!==e&&l(e),s};function En(e){e&&Tn.current.insert(e+"}")}var Tn={current:null},xn=function(e,t,n,a,r,o,i,l,s,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return Tn.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===l)return t+"/*|*/";break;case 3:switch(l){case 102:case 112:return Tn.current.insert(n[0]+t),"";default:return t+(0===c?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(En)}},Mn=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var a=new Sn(t);var r,o={};r=e.container||document.head;var i,l=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(l,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){o[e]=!0})),e.parentNode!==r&&r.appendChild(e)})),a.use(e.stylisPlugins)(xn),i=function(e,t,n,r){var o=t.name;Tn.current=n,a(e,t.styles),r&&(s.inserted[o]=!0)};var s={key:n,sheet:new _n({key:n,container:r,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:o,registered:{},insert:i};return s};function Cn(e,t,n){var a="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):a+=n+" "})),a}var Ln=function(e,t,n){var a=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[a]&&(e.registered[a]=t.styles),void 0===e.inserted[t.name]){var r=t;do{e.insert("."+a,r,e.sheet,!0);r=r.next}while(void 0!==r)}};var On=function(e){for(var t,n=0,a=0,r=e.length;r>=4;++a,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(a+2))<<16;case 2:n^=(255&e.charCodeAt(a+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(a)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Dn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var jn=/[A-Z]|^ms/g,Fn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pn=function(e){return 45===e.charCodeAt(1)},Yn=function(e){return null!=e&&"boolean"!=typeof e},Nn=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return Pn(e)?e:e.replace(jn,"-$&").toLowerCase()})),zn=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Fn,(function(e,t,n){return An={name:t,styles:n,next:An},t}))}return 1===Dn[e]||Pn(e)||"number"!=typeof t||0===t?t:t+"px"};function Bn(e,t,n,a){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return An={name:n.name,styles:n.styles,next:An},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)An={name:r.name,styles:r.styles,next:An},r=r.next;return n.styles+";"}return function(e,t,n){var a="";if(Array.isArray(n))for(var r=0;r<n.length;r++)a+=Bn(e,t,n[r],!1);else for(var o in n){var i=n[o];if("object"!=typeof i)null!=t&&void 0!==t[i]?a+=o+"{"+t[i]+"}":Yn(i)&&(a+=Nn(o)+":"+zn(o,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Bn(e,t,i,!1);switch(o){case"animation":case"animationName":a+=Nn(o)+":"+l+";";break;default:a+=o+"{"+l+"}"}}else for(var s=0;s<i.length;s++)Yn(i[s])&&(a+=Nn(o)+":"+zn(o,i[s])+";")}return a}(e,t,n);case"function":if(void 0!==e){var o=An,i=n(e);return An=o,Bn(e,t,i,a)}break;case"string":}if(null==t)return n;var l=t[n];return void 0===l||a?n:l}var An,Hn=/label:\s*([^\s;\n{]+)\s*;/g;var In=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a=!0,r="";An=void 0;var o=e[0];null==o||void 0===o.raw?(a=!1,r+=Bn(n,t,o,!1)):r+=o[0];for(var i=1;i<e.length;i++)r+=Bn(n,t,e[i],46===r.charCodeAt(r.length-1)),a&&(r+=o[i]);Hn.lastIndex=0;for(var l,s="";null!==(l=Hn.exec(r));)s+="-"+l[1];return{name:On(r)+s,styles:r,next:An}};var Rn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return In(t)},Wn=Object(gn.createContext)("undefined"!=typeof HTMLElement?Mn():null),Un=Object(gn.createContext)({}),Gn=Wn.Provider,Vn=function(e){return Object(gn.forwardRef)((function(t,n){return Object(gn.createElement)(Wn.Consumer,null,(function(a){return e(t,a,n)}))}))},qn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",$n=Object.prototype.hasOwnProperty,Jn=function(e,t,n,a){var r=null===n?t.css:t.css(n);"string"==typeof r&&void 0!==e.registered[r]&&(r=e.registered[r]);var o=t[qn],i=[r],l="";"string"==typeof t.className?l=Cn(e.registered,i,t.className):null!=t.className&&(l=t.className+" ");var s=In(i);Ln(e,s,"string"==typeof o);l+=e.key+"-"+s.name;var c={};for(var u in t)$n.call(t,u)&&"css"!==u&&u!==qn&&(c[u]=t[u]);return c.ref=a,c.className=l,Object(gn.createElement)(o,c)},Xn=Vn((function(e,t,n){return"function"==typeof e.css?Object(gn.createElement)(Un.Consumer,null,(function(a){return Jn(t,e,a,n)})):Jn(t,e,null,n)}));var Kn=function(e,t){var n=arguments;if(null==t||!$n.call(t,"css"))return gn.createElement.apply(void 0,n);var a=n.length,r=new Array(a);r[0]=Xn;var o={};for(var i in t)$n.call(t,i)&&(o[i]=t[i]);o[qn]=e,r[1]=o;for(var l=2;l<a;l++)r[l]=n[l];return gn.createElement.apply(null,r)},Qn=(gn.Component,function e(t){for(var n=t.length,a=0,r="";a<n;a++){var o=t[a];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var l in i="",o)o[l]&&l&&(i&&(i+=" "),i+=l);break;default:i=o}i&&(r&&(r+=" "),r+=i)}}return r});function Zn(e,t,n){var a=[],r=Cn(e,a,n);return a.length<2?n:r+t(a)}var ea=Vn((function(e,t){return Object(gn.createElement)(Un.Consumer,null,(function(n){var a=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];var r=In(n,t.registered);return Ln(t,r,!1),t.key+"-"+r.name},r={css:a,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Zn(t.registered,a,Qn(n))},theme:n},o=e.children(r);return!0,o}))})),ta=n(15),na=function(){};function aa(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function ra(e,t,n){var a=[n];if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&a.push(""+aa(e,r));return a.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var oa=function(e){return Array.isArray(e)?e.filter(Boolean):"object"==typeof e&&null!==e?[e]:[]};function ia(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function la(e){return ia(e)?window.pageYOffset:e.scrollTop}function sa(e,t){ia(e)?window.scrollTo(0,t):e.scrollTop=t}function ca(e,t,n,a){void 0===n&&(n=200),void 0===a&&(a=na);var r=la(e),o=t-r,i=0;!function t(){var l,s=o*((l=(l=i+=10)/n-1)*l*l+1)+r;sa(e,s),i<n?window.requestAnimationFrame(t):a(e)}()}function ua(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var pa=n(92),da=n.n(pa);function ma(){return(ma=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function fa(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ba(e){var t=e.maxHeight,n=e.menuEl,a=e.minHeight,r=e.placement,o=e.shouldScroll,i=e.isFixedPosition,l=e.theme.spacing,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,a=/(auto|scroll)/,r=document.documentElement;if("fixed"===t.position)return r;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&a.test(t.overflow+t.overflowY+t.overflowX))return o;return r}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u=s.getBoundingClientRect().height,p=n.getBoundingClientRect(),d=p.bottom,m=p.height,f=p.top,b=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,h=la(s),y=parseInt(getComputedStyle(n).marginBottom,10),v=parseInt(getComputedStyle(n).marginTop,10),w=b-v,k=g-f,_=w+h,S=u-h-f,E=d-g+h+y,T=h+f-v;switch(r){case"auto":case"bottom":if(k>=m)return{placement:"bottom",maxHeight:t};if(S>=m&&!i)return o&&ca(s,E,160),{placement:"bottom",maxHeight:t};if(!i&&S>=a||i&&k>=a)return o&&ca(s,E,160),{placement:"bottom",maxHeight:i?k-y:S-y};if("auto"===r||i){var x=t,M=i?w:_;return M>=a&&(x=Math.min(M-y-l.controlHeight,t)),{placement:"top",maxHeight:x}}if("bottom"===r)return sa(s,E),{placement:"bottom",maxHeight:t};break;case"top":if(w>=m)return{placement:"top",maxHeight:t};if(_>=m&&!i)return o&&ca(s,T,160),{placement:"top",maxHeight:t};if(!i&&_>=a||i&&w>=a){var C=t;return(!i&&_>=a||i&&w>=a)&&(C=i?w-v:_-v),o&&ca(s,T,160),{placement:"top",maxHeight:C}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'+r+'".')}return c}var ga=function(e){return"auto"===e?"bottom":e},ha=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={maxHeight:t.props.maxMenuHeight,placement:null},t.getPlacement=function(e){var n=t.props,a=n.minMenuHeight,r=n.maxMenuHeight,o=n.menuPlacement,i=n.menuPosition,l=n.menuShouldScrollIntoView,s=n.theme,c=t.context.getPortalPlacement;if(e){var u="fixed"===i,p=ba({maxHeight:r,menuEl:e,minHeight:a,placement:o,shouldScroll:l&&!u,isFixedPosition:u,theme:s});c&&c(p),t.setState(p)}},t.getUpdatedProps=function(){var e=t.props.menuPlacement,n=t.state.placement||ga(e);return ma({},t.props,{placement:n,maxHeight:t.state.maxHeight})},t}return fa(t,e),t.prototype.render=function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})},t}(gn.Component);ha.contextTypes={getPortalPlacement:tt.a.func};var ya=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:2*n+"px "+3*n+"px",textAlign:"center"}},va=ya,wa=ya,ka=function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,o=e.innerProps;return Kn("div",ma({css:r("noOptionsMessage",e),className:a({"menu-notice":!0,"menu-notice--no-options":!0},n)},o),t)};ka.defaultProps={children:"No options"};var _a=function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,o=e.innerProps;return Kn("div",ma({css:r("loadingMessage",e),className:a({"menu-notice":!0,"menu-notice--loading":!0},n)},o),t)};_a.defaultProps={children:"Loading..."};var Sa=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={placement:null},t.getPortalPlacement=function(e){var n=e.placement;n!==ga(t.props.menuPlacement)&&t.setState({placement:n})},t}fa(t,e);var n=t.prototype;return n.getChildContext=function(){return{getPortalPlacement:this.getPortalPlacement}},n.render=function(){var e=this.props,t=e.appendTo,n=e.children,a=e.controlElement,r=e.menuPlacement,o=e.menuPosition,i=e.getStyles,l="fixed"===o;if(!t&&!l||!a)return null;var s=this.state.placement||ga(r),c=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(a),u=l?0:window.pageYOffset,p=c[s]+u,d=Kn("div",{css:i("menuPortal",{offset:p,position:o,rect:c})},n);return t?Object(ta.createPortal)(d,t):d},t}(gn.Component);Sa.childContextTypes={getPortalPlacement:tt.a.func};var Ea=Array.isArray,Ta=Object.keys,xa=Object.prototype.hasOwnProperty;function Ma(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var a,r,o,i=Ea(t),l=Ea(n);if(i&&l){if((r=t.length)!=n.length)return!1;for(a=r;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(i!=l)return!1;var s=t instanceof Date,c=n instanceof Date;if(s!=c)return!1;if(s&&c)return t.getTime()==n.getTime();var u=t instanceof RegExp,p=n instanceof RegExp;if(u!=p)return!1;if(u&&p)return t.toString()==n.toString();var d=Ta(t);if((r=d.length)!==Ta(n).length)return!1;for(a=r;0!=a--;)if(!xa.call(n,d[a]))return!1;for(a=r;0!=a--;)if(!("_owner"===(o=d[a])&&t.$$typeof||e(t[o],n[o])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}function Ca(){return(Ca=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function La(){var e=function(e,t){t||(t=e.slice(0));return e.raw=t,e}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);return La=function(){return e},e}function Oa(){return(Oa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Da={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},ja=function(e){var t=e.size,n=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["size"]);return Kn("svg",Oa({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Da},n))},Fa=function(e){return Kn(ja,Oa({size:20},e),Kn("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Pa=function(e){return Kn(ja,Oa({size:20},e),Kn("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Ya=function(e){var t=e.isFocused,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorContainer",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*a,transition:"color 150ms",":hover":{color:t?r.neutral80:r.neutral40}}},Na=Ya,za=Ya,Ba=function(){var e=Rn.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(La()),Aa=function(e){var t=e.delay,n=e.offset;return Kn("span",{css:Rn({animation:Ba+" 1s ease-in-out "+t+"ms infinite;",backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},Ha=function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerProps,o=e.isRtl;return Kn("div",Oa({},r,{css:a("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),Kn(Aa,{delay:0,offset:o}),Kn(Aa,{delay:160,offset:!0}),Kn(Aa,{delay:320,offset:!o}))};function Ia(){return(Ia=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}Ha.defaultProps={size:4};function Ra(){return(Ra=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Wa(){return(Wa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ua=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function Ga(){return(Ga=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Va=function(e){var t=e.children,n=e.innerProps;return Kn("div",n,t)},qa=Va,$a=Va;var Ja=function(e){var t=e.children,n=e.className,a=e.components,r=e.cx,o=e.data,i=e.getStyles,l=e.innerProps,s=e.isDisabled,c=e.removeProps,u=e.selectProps,p=a.Container,d=a.Label,m=a.Remove;return Kn(ea,null,(function(a){var f=a.css,b=a.cx;return Kn(p,{data:o,innerProps:Ga({},l,{className:b(f(i("multiValue",e)),r({"multi-value":!0,"multi-value--is-disabled":s},n))}),selectProps:u},Kn(d,{data:o,innerProps:{className:b(f(i("multiValueLabel",e)),r({"multi-value__label":!0},n))},selectProps:u},t),Kn(m,{data:o,innerProps:Ga({className:b(f(i("multiValueRemove",e)),r({"multi-value__remove":!0},n))},c),selectProps:u}))}))};function Xa(){return(Xa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}Ja.defaultProps={cropWithEllipsis:!0};function Ka(){return(Ka=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Qa(){return(Qa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Za(){return(Za=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var er={ClearIndicator:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,o=e.innerProps;return Kn("div",Oa({},o,{css:r("clearIndicator",e),className:a({indicator:!0,"clear-indicator":!0},n)}),t||Kn(Fa,null))},Control:function(e){var t=e.children,n=e.cx,a=e.getStyles,r=e.className,o=e.isDisabled,i=e.isFocused,l=e.innerRef,s=e.innerProps,c=e.menuIsOpen;return Kn("div",Ia({ref:l,css:a("control",e),className:n({control:!0,"control--is-disabled":o,"control--is-focused":i,"control--menu-is-open":c},r)},s),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,o=e.innerProps;return Kn("div",Oa({},o,{css:r("dropdownIndicator",e),className:a({indicator:!0,"dropdown-indicator":!0},n)}),t||Kn(Pa,null))},DownChevron:Pa,CrossIcon:Fa,Group:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,o=e.Heading,i=e.headingProps,l=e.label,s=e.theme,c=e.selectProps;return Kn("div",{css:r("group",e),className:a({group:!0},n)},Kn(o,Ra({},i,{selectProps:c,theme:s,getStyles:r,cx:a}),l),Kn("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.theme,o=(e.selectProps,function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["className","cx","getStyles","theme","selectProps"]));return Kn("div",Ra({css:a("groupHeading",Ra({theme:r},o)),className:n({"group-heading":!0},t)},o))},IndicatorsContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles;return Kn("div",{css:r("indicatorsContainer",e),className:a({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerProps;return Kn("span",Oa({},r,{css:a("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,a=e.getStyles,r=e.innerRef,o=e.isHidden,i=e.isDisabled,l=e.theme,s=(e.selectProps,function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return Kn("div",{css:a("input",Wa({theme:l},s))},Kn(da.a,Wa({className:n({input:!0},t),inputRef:r,inputStyle:Ua(o),disabled:i},s)))},LoadingIndicator:Ha,Menu:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,o=e.innerRef,i=e.innerProps;return Kn("div",ma({css:r("menu",e),className:a({menu:!0},n)},i,{ref:o}),t)},MenuList:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,o=e.isMulti,i=e.innerRef;return Kn("div",{css:r("menuList",e),className:a({"menu-list":!0,"menu-list--is-multi":o},n),ref:i},t)},MenuPortal:Sa,LoadingMessage:_a,NoOptionsMessage:ka,MultiValue:Ja,MultiValueContainer:qa,MultiValueLabel:$a,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Kn("div",n,t||Kn(Fa,{size:14}))},Option:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,o=e.isDisabled,i=e.isFocused,l=e.isSelected,s=e.innerRef,c=e.innerProps;return Kn("div",Xa({css:r("option",e),className:a({option:!0,"option--is-disabled":o,"option--is-focused":i,"option--is-selected":l},n),ref:s},c),t)},Placeholder:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,o=e.innerProps;return Kn("div",Ka({css:r("placeholder",e),className:a({placeholder:!0},n)},o),t)},SelectContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,o=e.innerProps,i=e.isDisabled,l=e.isRtl;return Kn("div",Ca({css:r("container",e),className:a({"--is-disabled":i,"--is-rtl":l},n)},o),t)},SingleValue:function(e){var t=e.children,n=e.className,a=e.cx,r=e.getStyles,o=e.isDisabled,i=e.innerProps;return Kn("div",Qa({css:r("singleValue",e),className:a({"single-value":!0,"single-value--is-disabled":o},n)},i),t)},ValueContainer:function(e){var t=e.children,n=e.className,a=e.cx,r=e.isMulti,o=e.getStyles,i=e.hasValue;return Kn("div",{css:o("valueContainer",e),className:a({"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i},n)},t)}},tr=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],nr=function(e){for(var t=0;t<tr.length;t++)e=e.replace(tr[t].letters,tr[t].base);return e};function ar(){return(ar=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var rr=function(e){return e.replace(/^\s+|\s+$/g,"")},or=function(e){return e.label+" "+e.value};function ir(){return(ir=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var lr={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},sr=function(e){return Kn("span",ir({css:lr},e))};function cr(){return(cr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ur(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return Kn("input",cr({ref:t},n,{css:Rn({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}var pr=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.props.innerRef(Object(ta.findDOMNode)(this))},r.componentWillUnmount=function(){this.props.innerRef(null)},r.render=function(){return this.props.children},a}(gn.Component),dr=["boxSizing","height","overflow","paddingRight","position"],mr={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function fr(e){e.preventDefault()}function br(e){e.stopPropagation()}function gr(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function hr(){return"ontouchstart"in window||navigator.maxTouchPoints}var yr=!(!window.document||!window.document.createElement),vr=0,wr=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).originalStyles={},t.listenerOptions={capture:!1,passive:!1},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){var e=this;if(yr){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,o=r&&r.style;if(n&&dr.forEach((function(t){var n=o&&o[t];e.originalStyles[t]=n})),n&&vr<1){var i=parseInt(this.originalStyles.paddingRight,10)||0,l=document.body?document.body.clientWidth:0,s=window.innerWidth-l+i||0;Object.keys(mr).forEach((function(e){var t=mr[e];o&&(o[e]=t)})),o&&(o.paddingRight=s+"px")}r&&hr()&&(r.addEventListener("touchmove",fr,this.listenerOptions),a&&(a.addEventListener("touchstart",gr,this.listenerOptions),a.addEventListener("touchmove",br,this.listenerOptions))),vr+=1}},r.componentWillUnmount=function(){var e=this;if(yr){var t=this.props,n=t.accountForScrollbars,a=t.touchScrollTarget,r=document.body,o=r&&r.style;vr=Math.max(vr-1,0),n&&vr<1&&dr.forEach((function(t){var n=e.originalStyles[t];o&&(o[t]=n)})),r&&hr()&&(r.removeEventListener("touchmove",fr,this.listenerOptions),a&&(a.removeEventListener("touchstart",gr,this.listenerOptions),a.removeEventListener("touchmove",br,this.listenerOptions)))}},r.render=function(){return null},a}(gn.Component);wr.defaultProps={accountForScrollbars:!0};var kr={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},_r=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state={touchScrollTarget:null},t.getScrollTarget=function(e){e!==t.state.touchScrollTarget&&t.setState({touchScrollTarget:e})},t.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},t}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=this.props,t=e.children,n=e.isEnabled,a=this.state.touchScrollTarget;return n?Kn("div",null,Kn("div",{onClick:this.blurSelectInput,css:kr}),Kn(pr,{innerRef:this.getScrollTarget},t),a?Kn(wr,{touchScrollTarget:a}):null):t},a}(gn.PureComponent);var Sr=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).isBottom=!1,t.isTop=!1,t.scrollTarget=void 0,t.touchStart=void 0,t.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},t.handleEventDelta=function(e,n){var a=t.props,r=a.onBottomArrive,o=a.onBottomLeave,i=a.onTopArrive,l=a.onTopLeave,s=t.scrollTarget,c=s.scrollTop,u=s.scrollHeight,p=s.clientHeight,d=t.scrollTarget,m=n>0,f=u-p-c,b=!1;f>n&&t.isBottom&&(o&&o(e),t.isBottom=!1),m&&t.isTop&&(l&&l(e),t.isTop=!1),m&&n>f?(r&&!t.isBottom&&r(e),d.scrollTop=u,b=!0,t.isBottom=!0):!m&&-n>c&&(i&&!t.isTop&&i(e),d.scrollTop=0,b=!0,t.isTop=!0),b&&t.cancelScroll(e)},t.onWheel=function(e){t.handleEventDelta(e,e.deltaY)},t.onTouchStart=function(e){t.touchStart=e.changedTouches[0].clientY},t.onTouchMove=function(e){var n=t.touchStart-e.changedTouches[0].clientY;t.handleEventDelta(e,n)},t.getScrollTarget=function(e){t.scrollTarget=e},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.startListening(this.scrollTarget)},r.componentWillUnmount=function(){this.stopListening(this.scrollTarget)},r.startListening=function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))},r.stopListening=function(e){"function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1)},r.render=function(){return hn.a.createElement(pr,{innerRef:this.getScrollTarget},this.props.children)},a}(gn.Component);function Er(e){var t=e.isEnabled,n=void 0===t||t,a=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["isEnabled"]);return n?hn.a.createElement(Sr,a):a.children}var Tr=function(e,t){void 0===t&&(t={});var n=t,a=n.isSearchable,r=n.isMulti,o=n.label,i=n.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options"+(i?"":", press Enter to select the currently focused option")+", press Escape to exit the menu, press Tab to select the option and exit the menu.";case"input":return(o||"Select")+" is focused "+(a?",type to refine list":"")+", press Down to open the menu, "+(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},xr=function(e,t){var n=t.value,a=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option "+n+", deselected.";case"select-option":return a?"option "+n+" is disabled. Select another option.":"option "+n+", selected."}},Mr=function(e){return!!e.isDisabled};var Cr={clearIndicator:za,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,a=e.theme,r=a.colors,o=a.borderRadius,i=a.spacing;return{label:"control",alignItems:"center",backgroundColor:t?r.neutral5:r.neutral0,borderColor:t?r.neutral10:n?r.primary:r.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px "+r.primary:null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?r.primary:r.neutral30}}},dropdownIndicator:Na,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing.baseUnit,r=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?r.neutral10:r.neutral20,marginBottom:2*a,marginTop:2*a,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,visibility:t?"hidden":"visible",color:r.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,a=e.theme,r=a.colors,o=a.spacing.baseUnit;return{label:"loadingIndicator",color:t?r.neutral60:r.neutral20,display:"flex",padding:2*o,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:wa,menu:function(e){var t,n=e.placement,a=e.theme,r=a.borderRadius,o=a.spacing,i=a.colors;return(t={label:"menu"})[function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n)]="100%",t.backgroundColor=i.neutral0,t.borderRadius=r,t.boxShadow="0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",t.marginBottom=o.menuGutter,t.marginTop=o.menuGutter,t.position="absolute",t.width="100%",t.zIndex=1,t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,a=e.position;return{left:t.left,position:a,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,a=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:a/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,a=t.colors,r=e.cropWithEllipsis;return{borderRadius:n/2,color:a.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:r?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,a=t.borderRadius,r=t.colors;return{alignItems:"center",borderRadius:a/2,backgroundColor:e.isFocused&&r.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}}},noOptionsMessage:va,option:function(e){var t=e.isDisabled,n=e.isFocused,a=e.isSelected,r=e.theme,o=r.spacing,i=r.colors;return{label:"option",backgroundColor:a?i.primary:n?i.primary25:"transparent",color:t?i.neutral20:a?i.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:2*o.baseUnit+"px "+3*o.baseUnit+"px",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(a?i.primary:i.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,a=n.spacing,r=n.colors;return{label:"singleValue",color:t?r.neutral40:r.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,maxWidth:"calc(100% - "+2*a.baseUnit+"px)",overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:t.baseUnit/2+"px "+2*t.baseUnit+"px",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var Lr={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};function Or(){return(Or=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Dr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var jr,Fr={backspaceRemovesValue:!0,blurInputOnSelect:ua(),captureMenuScroll:!ua(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=ar({ignoreCase:!0,ignoreAccents:!0,stringify:or,trim:!0,matchFrom:"any"},jr),a=n.ignoreCase,r=n.ignoreAccents,o=n.stringify,i=n.trim,l=n.matchFrom,s=i?rr(t):t,c=i?rr(o(e)):o(e);return a&&(s=s.toLowerCase(),c=c.toLowerCase()),r&&(s=nr(s),c=nr(c)),"start"===l?c.substr(0,s.length)===s:c.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Mr,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return t+" result"+(1!==t?"s":"")+" available"},styles:{},tabIndex:"0",tabSelectsValue:!0},Pr=1,Yr=function(e){var t,n;function a(t){var n;(n=e.call(this,t)||this).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},n.blockOptionHover=!1,n.isComposing=!1,n.clearFocusValueOnUpdate=!1,n.commonProps=void 0,n.components=void 0,n.hasGroups=!1,n.initialTouchX=0,n.initialTouchY=0,n.inputIsHiddenAfterUpdate=void 0,n.instancePrefix="",n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(e){n.controlRef=e},n.focusedOptionRef=null,n.getFocusedOptionRef=function(e){n.focusedOptionRef=e},n.menuListRef=null,n.getMenuListRef=function(e){n.menuListRef=e},n.inputRef=null,n.getInputRef=function(e){n.inputRef=e},n.cacheComponents=function(e){n.components=Za({},er,{components:e}.components)},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(e,t){var a=n.props;(0,a.onChange)(e,Or({},t,{name:a.name}))},n.setValue=function(e,t,a){void 0===t&&(t="set-value");var r=n.props,o=r.closeMenuOnSelect,i=r.isMulti;n.onInputChange("",{action:"set-value"}),o&&(n.inputIsHiddenAfterUpdate=!i,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(e,{action:t,option:a})},n.selectOption=function(e){var t=n.props,a=t.blurInputOnSelect,r=t.isMulti,o=n.state.selectValue;if(r)if(n.isOptionSelected(e,o)){var i=n.getOptionValue(e);n.setValue(o.filter((function(e){return n.getOptionValue(e)!==i})),"deselect-option",e),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(e)}})}else n.isOptionDisabled(e,o)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue([].concat(o,[e]),"select-option",e),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));else n.isOptionDisabled(e,o)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue(e,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));a&&n.blurInput()},n.removeValue=function(e){var t=n.state.selectValue,a=n.getOptionValue(e),r=t.filter((function(e){return n.getOptionValue(e)!==a}));n.onChange(r.length?r:null,{action:"remove-value",removedValue:e}),n.announceAriaLiveSelection({event:"remove-value",context:{value:e?n.getOptionLabel(e):""}}),n.focusInput()},n.clearValue=function(){var e=n.props.isMulti;n.onChange(e?[]:null,{action:"clear"})},n.popValue=function(){var e=n.state.selectValue,t=e[e.length-1],a=e.slice(0,e.length-1);n.announceAriaLiveSelection({event:"pop-value",context:{value:t?n.getOptionLabel(t):""}}),n.onChange(a.length?a:null,{action:"pop-value",removedValue:t})},n.getOptionLabel=function(e){return n.props.getOptionLabel(e)},n.getOptionValue=function(e){return n.props.getOptionValue(e)},n.getStyles=function(e,t){var a=Cr[e](t);a.boxSizing="border-box";var r=n.props.styles[e];return r?r(a,t):a},n.getElementId=function(e){return n.instancePrefix+"-"+e},n.getActiveDescendentId=function(){var e=n.props.menuIsOpen,t=n.state,a=t.menuOptions,r=t.focusedOption;if(r&&e){var o=a.focusable.indexOf(r),i=a.render[o];return i&&i.key}},n.announceAriaLiveSelection=function(e){var t=e.event,a=e.context;n.setState({ariaLiveSelection:xr(t,a)})},n.announceAriaLiveContext=function(e){var t=e.event,a=e.context;n.setState({ariaLiveContext:Tr(t,Or({},a,{label:n.props["aria-label"]}))})},n.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(e){n.blockOptionHover=!1},n.onControlMouseDown=function(e){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},n.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||n.props.isDisabled)){var t=n.props,a=t.isMulti,r=t.menuIsOpen;n.focusInput(),r?(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()):n.openMenu("first"),e.preventDefault(),e.stopPropagation()}},n.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.stopPropagation(),n.openAfterFocus=!1,"touchend"===e.type?n.focusInput():setTimeout((function(){return n.focusInput()})))},n.onScroll=function(e){"boolean"==typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&ia(e.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(e){var t=e.touches.item(0);t&&(n.initialTouchX=t.clientX,n.initialTouchY=t.clientY,n.userIsDragging=!1)},n.onTouchMove=function(e){var t=e.touches.item(0);if(t){var a=Math.abs(t.clientX-n.initialTouchX),r=Math.abs(t.clientY-n.initialTouchY);n.userIsDragging=a>5||r>5}},n.onTouchEnd=function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(e){n.userIsDragging||n.onControlMouseDown(e)},n.onClearIndicatorTouchEnd=function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)},n.onDropdownIndicatorTouchEnd=function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)},n.handleInputChange=function(e){var t=e.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(t,{action:"input-change"}),n.onMenuOpen()},n.onInputFocus=function(e){var t=n.props,a=t.isSearchable,r=t.isMulti;n.props.onFocus&&n.props.onFocus(e),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:r}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(e){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))},n.onOptionHover=function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})},n.shouldHideSelectedOptions=function(){var e=n.props,t=e.hideSelectedOptions,a=e.isMulti;return void 0===t?a:t},n.onKeyDown=function(e){var t=n.props,a=t.isMulti,r=t.backspaceRemovesValue,o=t.escapeClearsValue,i=t.inputValue,l=t.isClearable,s=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,p=t.tabSelectsValue,d=t.openMenuOnFocus,m=n.state,f=m.focusedOption,b=m.focusedValue,g=m.selectValue;if(!(s||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!a||i)return;n.focusValue("previous");break;case"ArrowRight":if(!a||i)return;n.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(b)n.removeValue(b);else{if(!r)return;a?n.popValue():l&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!c||!p||!f||d&&n.isOptionSelected(f,g))return;n.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(n.isComposing)return;n.selectOption(f);break}return;case"Escape":c?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):l&&o&&n.clearValue();break;case" ":if(i)return;if(!c){n.openMenu("first");break}if(!f)return;n.selectOption(f);break;case"ArrowUp":c?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":c?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!c)return;n.focusOption("pageup");break;case"PageDown":if(!c)return;n.focusOption("pagedown");break;case"Home":if(!c)return;n.focusOption("first");break;case"End":if(!c)return;n.focusOption("last");break;default:return}e.preventDefault()}},n.buildMenuOptions=function(e,t){var a=e.inputValue,r=void 0===a?"":a,o=e.options,i=function(e,a){var o=n.isOptionDisabled(e,t),i=n.isOptionSelected(e,t),l=n.getOptionLabel(e),s=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&i||!n.filterOption({label:l,value:s,data:e},r))){var c=o?void 0:function(){return n.onOptionHover(e)},u=o?void 0:function(){return n.selectOption(e)},p=n.getElementId("option")+"-"+a;return{innerProps:{id:p,onClick:u,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:o,isSelected:i,key:p,label:l,type:"option",value:s}}};return o.reduce((function(e,t,a){if(t.options){n.hasGroups||(n.hasGroups=!0);var r=t.options.map((function(t,n){var r=i(t,a+"-"+n);return r&&e.focusable.push(t),r})).filter(Boolean);if(r.length){var o=n.getElementId("group")+"-"+a;e.render.push({type:"group",key:o,data:t,options:r})}}else{var l=i(t,""+a);l&&(e.render.push(l),e.focusable.push(t))}return e}),{render:[],focusable:[]})};var a=t.value;n.cacheComponents=vn(n.cacheComponents,Ma).bind(Dr(Dr(n))),n.cacheComponents(t.components),n.instancePrefix="react-select-"+(n.props.instanceId||++Pr);var r=oa(a);n.buildMenuOptions=vn(n.buildMenuOptions,(function(e,t){var n=e,a=n[0],r=n[1],o=t,i=o[0];return Ma(r,o[1])&&Ma(a.inputValue,i.inputValue)&&Ma(a.options,i.options)})).bind(Dr(Dr(n)));var o=t.menuIsOpen?n.buildMenuOptions(t,r):{render:[],focusable:[]};return n.state.menuOptions=o,n.state.selectValue=r,n}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.componentDidMount=function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()},r.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.options,a=t.value,r=t.menuIsOpen,o=t.inputValue;if(this.cacheComponents(e.components),e.value!==a||e.options!==n||e.menuIsOpen!==r||e.inputValue!==o){var i=oa(e.value),l=e.menuIsOpen?this.buildMenuOptions(e,i):{render:[],focusable:[]},s=this.getNextFocusedValue(i),c=this.getNextFocusedOption(l.focusable);this.setState({menuOptions:l,selectValue:i,focusedOption:c,focusedValue:s})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)},r.componentDidUpdate=function(e){var t,n,a,r,o,i=this.props,l=i.isDisabled,s=i.menuIsOpen,c=this.state.isFocused;(c&&!l&&e.isDisabled||c&&s&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,a=t.getBoundingClientRect(),r=n.getBoundingClientRect(),o=n.offsetHeight/3,r.bottom+o>a.bottom?sa(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+o,t.scrollHeight)):r.top-o<a.top&&sa(t,Math.max(n.offsetTop-o,0)),this.scrollToFocusedOptionOnUpdate=!1)},r.componentWillUnmount=function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)},r.onMenuOpen=function(){this.props.onMenuOpen()},r.onMenuClose=function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()},r.onInputChange=function(e,t){this.props.onInputChange(e,t)},r.focusInput=function(){this.inputRef&&this.inputRef.focus()},r.blurInput=function(){this.inputRef&&this.inputRef.blur()},r.openMenu=function(e){var t=this,n=this.state,a=n.selectValue,r=n.isFocused,o=this.buildMenuOptions(this.props,a),i=this.props.isMulti,l="first"===e?0:o.focusable.length-1;if(!i){var s=o.focusable.indexOf(a[0]);s>-1&&(l=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:o,focusedValue:null,focusedOption:o.focusable[l]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu"})}))},r.focusValue=function(e){var t=this.props,n=t.isMulti,a=t.isSearchable,r=this.state,o=r.selectValue,i=r.focusedValue;if(n){this.setState({focusedOption:null});var l=o.indexOf(i);i||(l=-1,this.announceAriaLiveContext({event:"value"}));var s=o.length-1,c=-1;if(o.length){switch(e){case"previous":c=0===l?0:-1===l?s:l-1;break;case"next":l>-1&&l<s&&(c=l+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:o[c]})}}},r.focusOption=function(e){void 0===e&&(e="first");var t=this.props.pageSize,n=this.state,a=n.focusedOption,r=n.menuOptions.focusable;if(r.length){var o=0,i=r.indexOf(a);a||(i=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Mr(r[o])}})}},r.getTheme=function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Lr):Or({},Lr,this.props.theme):Lr},r.getCommonProps=function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,a=this.selectOption,r=this.props,o=r.classNamePrefix,i=r.isMulti,l=r.isRtl,s=r.options,c=this.state.selectValue,u=this.hasValue();return{cx:ra.bind(null,o),clearValue:e,getStyles:t,getValue:function(){return c},hasValue:u,isMulti:i,isRtl:l,options:s,selectOption:a,setValue:n,selectProps:r,theme:this.getTheme()}},r.getNextFocusedValue=function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,a=t.selectValue.indexOf(n);if(a>-1){if(e.indexOf(n)>-1)return n;if(a<e.length)return e[a]}return null},r.getNextFocusedOption=function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]},r.hasValue=function(){return this.state.selectValue.length>0},r.hasOptions=function(){return!!this.state.menuOptions.render.length},r.countOptions=function(){return this.state.menuOptions.focusable.length},r.isClearable=function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t},r.isOptionDisabled=function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)},r.isOptionSelected=function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var a=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===a}))},r.filterOption=function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)},r.formatOptionLabel=function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:a})}return this.getOptionLabel(e)},r.formatGroupLabel=function(e){return this.props.formatGroupLabel(e)},r.startListeningComposition=function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))},r.stopListeningComposition=function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))},r.startListeningToTouch=function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))},r.stopListeningToTouch=function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))},r.constructAriaLiveMessage=function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,a=e.focusedValue,r=e.focusedOption,o=this.props,i=o.options,l=o.menuIsOpen,s=o.inputValue,c=o.screenReaderStatus;return(a?function(e){var t=e.focusedValue,n=e.getOptionLabel,a=e.selectValue;return"value "+n(t)+" focused, "+(a.indexOf(t)+1)+" of "+a.length+"."}({focusedValue:a,getOptionLabel:this.getOptionLabel,selectValue:n}):"")+" "+(r&&l?function(e){var t=e.focusedOption,n=e.getOptionLabel,a=e.options;return"option "+n(t)+" focused"+(t.isDisabled?" disabled":"")+", "+(a.indexOf(t)+1)+" of "+a.length+"."}({focusedOption:r,getOptionLabel:this.getOptionLabel,options:i}):"")+" "+function(e){var t=e.inputValue;return e.screenReaderMessage+(t?" for search term "+t:"")+"."}({inputValue:s,screenReaderMessage:c({count:this.countOptions()})})+" "+t},r.renderInput=function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,a=e.inputId,r=e.inputValue,o=e.tabIndex,i=this.components.Input,l=this.state.inputIsHidden,s=a||this.getElementId("input"),c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!n)return hn.a.createElement(ur,Or({id:s,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:na,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:o,value:""},c));var u=this.commonProps,p=u.cx,d=u.theme,m=u.selectProps;return hn.a.createElement(i,Or({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:s,innerRef:this.getInputRef,isDisabled:t,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:m,spellCheck:"false",tabIndex:o,theme:d,type:"text",value:r},c))},r.renderPlaceholderOrValue=function(){var e=this,t=this.components,n=t.MultiValue,a=t.MultiValueContainer,r=t.MultiValueLabel,o=t.MultiValueRemove,i=t.SingleValue,l=t.Placeholder,s=this.commonProps,c=this.props,u=c.controlShouldRenderValue,p=c.isDisabled,d=c.isMulti,m=c.inputValue,f=c.placeholder,b=this.state,g=b.selectValue,h=b.focusedValue,y=b.isFocused;if(!this.hasValue()||!u)return m?null:hn.a.createElement(l,Or({},s,{key:"placeholder",isDisabled:p,isFocused:y}),f);if(d)return g.map((function(t,i){var l=t===h;return hn.a.createElement(n,Or({},s,{components:{Container:a,Label:r,Remove:o},isFocused:l,isDisabled:p,key:e.getOptionValue(t),index:i,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var v=g[0];return hn.a.createElement(i,Or({},s,{data:v,isDisabled:p}),this.formatOptionLabel(v,"value"))},r.renderClearIndicator=function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,r=n.isLoading,o=this.state.isFocused;if(!this.isClearable()||!e||a||!this.hasValue()||r)return null;var i={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return hn.a.createElement(e,Or({},t,{innerProps:i,isFocused:o}))},r.renderLoadingIndicator=function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,r=n.isLoading,o=this.state.isFocused;if(!e||!r)return null;return hn.a.createElement(e,Or({},t,{innerProps:{"aria-hidden":"true"},isDisabled:a,isFocused:o}))},r.renderIndicatorSeparator=function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var a=this.commonProps,r=this.props.isDisabled,o=this.state.isFocused;return hn.a.createElement(n,Or({},a,{isDisabled:r,isFocused:o}))},r.renderDropdownIndicator=function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,a=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return hn.a.createElement(e,Or({},t,{innerProps:r,isDisabled:n,isFocused:a}))},r.renderMenu=function(){var e=this,t=this.components,n=t.Group,a=t.GroupHeading,r=t.Menu,o=t.MenuList,i=t.MenuPortal,l=t.LoadingMessage,s=t.NoOptionsMessage,c=t.Option,u=this.commonProps,p=this.state,d=p.focusedOption,m=p.menuOptions,f=this.props,b=f.captureMenuScroll,g=f.inputValue,h=f.isLoading,y=f.loadingMessage,v=f.minMenuHeight,w=f.maxMenuHeight,k=f.menuIsOpen,_=f.menuPlacement,S=f.menuPosition,E=f.menuPortalTarget,T=f.menuShouldBlockScroll,x=f.menuShouldScrollIntoView,M=f.noOptionsMessage,C=f.onMenuScrollToTop,L=f.onMenuScrollToBottom;if(!k)return null;var O,D=function(t){var n=d===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,hn.a.createElement(c,Or({},u,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())O=m.render.map((function(t){if("group"===t.type){t.type;var r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,["type"]),o=t.key+"-heading";return hn.a.createElement(n,Or({},u,r,{Heading:a,headingProps:{id:o},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return D(e)})))}if("option"===t.type)return D(t)}));else if(h){var j=y({inputValue:g});if(null===j)return null;O=hn.a.createElement(l,u,j)}else{var F=M({inputValue:g});if(null===F)return null;O=hn.a.createElement(s,u,F)}var P={minMenuHeight:v,maxMenuHeight:w,menuPlacement:_,menuPosition:S,menuShouldScrollIntoView:x},Y=hn.a.createElement(ha,Or({},u,P),(function(t){var n=t.ref,a=t.placerProps,i=a.placement,l=a.maxHeight;return hn.a.createElement(r,Or({},u,P,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:h,placement:i}),hn.a.createElement(Er,{isEnabled:b,onTopArrive:C,onBottomArrive:L},hn.a.createElement(_r,{isEnabled:T},hn.a.createElement(o,Or({},u,{innerRef:e.getMenuListRef,isLoading:h,maxHeight:l}),O))))}));return E||"fixed"===S?hn.a.createElement(i,Or({},u,{appendTo:E,controlElement:this.controlRef,menuPlacement:_,menuPosition:S}),Y):Y},r.renderFormField=function(){var e=this,t=this.props,n=t.delimiter,a=t.isDisabled,r=t.isMulti,o=t.name,i=this.state.selectValue;if(o&&!a){if(r){if(n){var l=i.map((function(t){return e.getOptionValue(t)})).join(n);return hn.a.createElement("input",{name:o,type:"hidden",value:l})}var s=i.length>0?i.map((function(t,n){return hn.a.createElement("input",{key:"i-"+n,name:o,type:"hidden",value:e.getOptionValue(t)})})):hn.a.createElement("input",{name:o,type:"hidden"});return hn.a.createElement("div",null,s)}var c=i[0]?this.getOptionValue(i[0]):"";return hn.a.createElement("input",{name:o,type:"hidden",value:c})}},r.renderLiveRegion=function(){return this.state.isFocused?hn.a.createElement(sr,{"aria-live":"polite"},hn.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),hn.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null},r.render=function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,a=e.SelectContainer,r=e.ValueContainer,o=this.props,i=o.className,l=o.id,s=o.isDisabled,c=o.menuIsOpen,u=this.state.isFocused,p=this.commonProps=this.getCommonProps();return hn.a.createElement(a,Or({},p,{className:i,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:u}),this.renderLiveRegion(),hn.a.createElement(t,Or({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:u,menuIsOpen:c}),hn.a.createElement(r,Or({},p,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),hn.a.createElement(n,Or({},p,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())},a}(gn.Component);function Nr(){return(Nr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}Yr.defaultProps=Fr;var zr={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};gn.Component;var Br,Ar,Hr,Ir=(Br=Yr,Hr=Ar=function(e){var t,n;function a(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).select=void 0,t.state={inputValue:void 0!==t.props.inputValue?t.props.inputValue:t.props.defaultInputValue,menuIsOpen:void 0!==t.props.menuIsOpen?t.props.menuIsOpen:t.props.defaultMenuIsOpen,value:void 0!==t.props.value?t.props.value:t.props.defaultValue},t.onChange=function(e,n){t.callProp("onChange",e,n),t.setState({value:e})},t.onInputChange=function(e,n){var a=t.callProp("onInputChange",e,n);t.setState({inputValue:void 0!==a?a:e})},t.onMenuOpen=function(){t.callProp("onMenuOpen"),t.setState({menuIsOpen:!0})},t.onMenuClose=function(){t.callProp("onMenuClose"),t.setState({menuIsOpen:!1})},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=a.prototype;return r.focus=function(){this.select.focus()},r.blur=function(){this.select.blur()},r.getProp=function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]},r.callProp=function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return(t=this.props)[e].apply(t,a)}},r.render=function(){var e=this,t=this.props,n=(t.defaultInputValue,t.defaultMenuIsOpen,t.defaultValue,function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return hn.a.createElement(Br,Nr({},n,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))},a}(gn.Component),Ar.defaultProps=zr,Hr);const Rr=wp.i18n.__,Wr=wp.components.SelectControl,Ur=wp.element;Ur.Component,Ur.Fragment;var Gr=function(e){const t=[{value:"",label:Rr("Default"),weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Arial",label:"Arial",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Helvetica",label:"Helvetica",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Times New Roman",label:"Times New Roman",weight:["100","200","300","400","500","600","700","800","900"],google:!1},{value:"Georgia",label:"Georgia",weight:["100","200","300","400","500","600","700","800","900"],google:!1}];let n="",a="";Object.keys(bn).map((r,o)=>{t.push({value:r,label:r,weight:bn[r].weight}),r===e.fontFamily.value&&(n=bn[r].weight,a=bn[r].subset)}),""===n&&(n=t[0].weight);const r={value:"default",label:Rr("Default","blockspare")},o=[];n.forEach((function(e){o.push({value:e,label:e})})),o.unshift(r);const i=[];"object"==typeof a&&a.forEach((function(e){i.push({value:e,label:e})}));const l=(t,n,a)=>{let r,o;if("object"==typeof bn[a]){const i=bn[a].weight,l=bn[a].subset;"object"==typeof i&&(i.forEach((function(n){if(t.value!=n)return o=n,r=!0,void e.setAttributes({[e.fontWeight.label]:o});r=!1})),l.forEach((function(t){if(n.value!=t)return o=t,r=!0,void e.setAttributes({[e.fontSubset.label]:o});r=!1})))}},s=(t,n)=>{let a;a=""==n||"object"==typeof bn[n],e.setAttributes({[t.label]:a})};return wp.element.createElement("div",{className:"blockspare-typography-font-family-options"},wp.element.createElement("label",{className:"blockspare-typography-font-family-label"},Rr("Font Family")),wp.element.createElement(Ir,{options:t,value:{value:e.fontFamily.value,label:e.fontFamily.value,weight:o},isMulti:!1,maxMenuHeight:300,onChange:t=>{const n=e.loadGoogleFonts,a=e.fontFamily,r=e.fontWeight,o=e.fontSubset;e.setAttributes({[a.label]:t.label}),s(n,t.label),l(r,o,t.label)},className:"react-select-container",classNamePrefix:"react-select"}),wp.element.createElement(Wr,{label:Rr("Font Weight"),value:e.fontWeight.value,onChange:t=>e.setAttributes({[e.fontWeight.label]:t}),options:o}),wp.element.createElement(Wr,{label:Rr("Font Subset"),value:e.fontSubset.value,onChange:t=>e.setAttributes({[e.fontSubset.label]:t}),options:i}))};const Vr=wp.i18n.__,qr=wp.components.SelectControl,$r=wp.element,Jr=$r.Component,Xr=$r.Fragment;var Kr=class extends Jr{render(){const e=this.props,t=e.headerTagOption,n=e.setAttributes,a=[{value:"h1",label:Vr("h1","blockspare")},{value:"h2",label:Vr("h2","blockspare")},{value:"h3",label:Vr("h3","blockspare")},{value:"h4",label:Vr("h4","blockspare")},{value:"h5",label:Vr("h5","blockspare")},{value:"h6",label:Vr("h6","blockspare")}];return wp.element.createElement(Xr,null,wp.element.createElement(qr,{label:"Title Tag",value:t,options:a.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>n({headerTagOption:e})}))}};const Qr=wp.i18n.__,Zr=wp.components,eo=Zr.RangeControl,to=Zr.ButtonGroup,no=Zr.Button,ao=Zr.TabPanel,ro=Zr.Dashicon,oo=wp.element,io=(oo.Component,oo.Fragment);var lo=function(e){let t;return t="sizeTypes"in e?e.sizeTypes:[{key:"px",name:Qr("px")},{key:"em",name:Qr("em")}],wp.element.createElement(to,{className:"blockspare-size-type-field","aria-label":Qr("Size Type")},mn()(t,({name:t,key:n})=>wp.element.createElement(no,{key:n,className:"blockspare-size-btn",isSmall:!0,isPrimary:e.type.value===n,"aria-pressed":e.type.value===n,onClick:()=>e.setAttributes({[e.typeLabel]:n})},t))),wp.element.createElement("div",{className:"blockspare-typography-range-options"},wp.element.createElement("p",{className:"blockspare-font-size-title"},Qr("Font Size","blockspare")),wp.element.createElement(ao,{className:"blockspare-size-type-field-tabs",activeClass:"active-tab",tabs:[{name:"desktop",title:wp.element.createElement(ro,{icon:"desktop"}),className:"blockspare-desktop-tab blockspare-responsive-tabs"},{name:"tablet",title:wp.element.createElement(ro,{icon:"tablet"}),className:"blockspare-tablet-tab blockspare-responsive-tabs"},{name:"mobile",title:wp.element.createElement(ro,{icon:"smartphone"}),className:"blockspare-mobile-tab blockspare-responsive-tabs"}]},t=>{let n;return n="mobile"===t.name?wp.element.createElement(io,null,wp.element.createElement(eo,{value:e.sizeMobile.value,onChange:t=>e.setAttributes({[e.sizeMobileLabel]:t}),min:0,max:100,step:e.steps})):"tablet"===t.name?wp.element.createElement(io,null,wp.element.createElement(eo,{value:e.sizeTablet.value,onChange:t=>e.setAttributes({[e.sizeTabletLabel]:t}),min:0,max:100,step:e.steps})):wp.element.createElement(io,null,wp.element.createElement(eo,{value:e.size.value,onChange:t=>e.setAttributes({[e.sizeLabel]:t}),min:0,max:100,step:e.steps})),wp.element.createElement("div",null,n)}))};n(453);function so(){return(so=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const co=wp.i18n.__,uo=wp.components,po=uo.Button,mo=uo.Dashicon,fo=(uo.SelectControl,wp.element),bo=fo.Component,go=fo.Fragment;var ho=class extends bo{constructor(){super(...arguments),this.onAdvancedControlClick=this.onAdvancedControlClick.bind(this)}onAdvancedControlClick(){let e=!0,t=co("Hide Advanced");null!==this.state&&!0===this.state.showAdvancedControls&&(e=!1,t=co("Advanced")),this.setState({showAdvancedControls:e,showAdvancedControlsLabel:t})}render(){let e,t,n,a,r,o,i;const l=this.props,s=l.disableTag,c=void 0===s||s,u=l.disableFontFamily,p=l.disableFontSize,d=l.disableLineHeight,m=l.disableAdvancedOptions,f=void 0!==m&&m;return!0!==u&&(a=wp.element.createElement(Gr,this.props)),1!=c&&(e=wp.element.createElement(Kr,this.props)),!0!==d&&(n=wp.element.createElement(lo,so({type:this.props.lineHeightType,typeLabel:this.props.lineHeightType.label,sizeMobile:this.props.lineHeightMobile,sizeMobileLabel:this.props.lineHeightMobile.label,sizeTablet:this.props.lineHeightTablet,sizeTabletLabel:this.props.lineHeightTablet.label,size:this.props.lineHeight,sizeLabel:this.props.lineHeight.label,sizeMobileText:co("Line Height"),sizeTabletText:co("Line Height"),sizeText:co("Line Height"),steps:1},this.props))),!0!==p&&(t=wp.element.createElement(lo,so({type:this.props.fontSizeType,typeLabel:this.props.fontSizeType.label,sizeMobile:this.props.fontSizeMobile,sizeMobileLabel:this.props.fontSizeMobile.label,sizeTablet:this.props.fontSizeTablet,sizeTabletLabel:this.props.fontSizeTablet.label,size:this.props.fontSize,sizeLabel:this.props.fontSize.label,sizeMobileText:this.props.fontSizeLabel?this.props.fontSizeLabel:co("Font Size"),sizeTabletText:this.props.fontSizeLabel?this.props.fontSizeLabel:co("Font Size"),sizeText:this.props.fontSizeLabel?this.props.fontSizeLabel:co("Font Size"),steps:1},this.props))),!0!==u&&!0!==p?r=wp.element.createElement(po,{className:"blockspare-size-btn blockspare-typography-control-btn",isSmall:!0,"aria-pressed":null!==this.state,onClick:this.onAdvancedControlClick},wp.element.createElement(mo,{icon:"admin-generic"})):i=wp.element.createElement(go,null,t,a,n),null!==this.state&&!0===this.state.showAdvancedControls&&(i=wp.element.createElement("div",{className:"blockspare-typography-advanced"},t,a,n)),!0!==u&&!0!==p&&(o=wp.element.createElement("div",{className:"blockspare-typography-option-actions"},wp.element.createElement("span",null,this.props.label),r,void 0)),wp.element.createElement("div",{className:"blockspare-typography-options"},!f&&wp.element.createElement(go,null,e,o,i))}};const yo=wp.i18n.__,vo=wp.element.Component,wo=wp.blockEditor,ko=wo.InspectorControls,_o=wo.MediaUpload,So=wo.PanelColorSettings,Eo=wp.components,To=Eo.RangeControl,xo=Eo.PanelBody,Mo=Eo.IconButton,Co=Eo.ToggleControl,Lo=Eo.SelectControl;class Oo extends vo{render(){const e=this.props,t=e.attributes,n=t.opacityRatio,a=t.ctaBackGroundColor,r=t.showImage,o=t.imgURL,i=t.imgID,l=t.imgAlt,s=t.buttonBackgroundColor,c=t.buttonTextColor,u=t.buttonSize,p=t.buttonStyle,d=t.buttonShape,m=t.buttonTarget,f=t.paddingTop,b=t.paddingRight,g=t.paddingBottom,h=t.paddingLeft,y=t.marginTop,v=t.marginBottom,w=t.titleFontSize,k=(t.subtitleFontSize,t.headerTagOption),_=t.headertitleColor,S=t.headersubtitleColor,E=t.headerlayoutOption,T=t.titlePaddingTop,x=t.titlePaddingBottom,M=t.subtitlePaddingTop,C=t.subtitlePaddingBottom,L=t.headerboxColor,O=t.dashColor,D=t.borderColor,j=t.borderBtnTextColor,F=(t.backgroundFix,t.enableGradient),P=t.backgroundColor1,Y=t.backgroundColor2,N=t.gradientAngle,z=t.colorLocation1,B=t.colorLocation2,A=(t.borderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.btnFontWeight),H=t.btnBorderWidth,I=t.buttonHoverEffect,R=t.titleLoadGoogleFonts,W=t.titleFontFamily,U=t.titleFontWeight,G=t.titleFontSubset,V=t.titleFontSizeType,q=t.titleFontSizeMobile,$=t.titleFontSizeTablet,J=t.subTitleFontSize,X=t.subTitleLoadGoogleFonts,K=t.subTitleFontFamily,Q=t.subTitleFontWeight,Z=t.subTitleFontSubset,ee=t.subTitleFontSizeType,te=t.subTitleFontSizeMobile,ne=t.subTitleFontSizeTablet,ae=e.attributes,re=e.setAttributes,oe=()=>{re({imgID:null,imgURL:null,imgAlt:null})},ie=[{value:"blockspare-style1",label:yo("Layout 1","blockspare")},{value:"blockspare-style2",label:yo("Layout 2","blockspare")},{value:"blockspare-style3",label:yo("Layout 3","blockspare")}];return wp.element.createElement(ko,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(xo,{title:yo("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(xo,{title:yo("Layouts","blockspare"),initialOpen:!1},wp.element.createElement(Lo,{label:yo("Header Style","blockspare"),value:E,options:ie.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>this.props.setAttributes({headerlayoutOption:e})})),wp.element.createElement(xo,{title:yo("Typography Settings","blockspare")},wp.element.createElement(ho,{label:yo("Title Fonts Settings"),attributes:ae,setAttributes:re,loadGoogleFonts:{value:R,label:yo("titleLoadGoogleFonts")},fontFamily:{value:W,label:yo("titleFontFamily")},fontWeight:{value:U,label:yo("titleFontWeight")},fontSubset:{value:G,label:yo("titleFontSubset")},fontSizeType:{value:V,label:yo("titleFontSizeType")},fontSize:{value:w,label:yo("titleFontSize")},fontSizeMobile:{value:q,label:yo("titleFontSizeMobile")},fontSizeTablet:{value:$,label:yo("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:k}),wp.element.createElement(ho,{label:yo("Subtitle Fonts Settings"),attributes:ae,setAttributes:re,loadGoogleFonts:{value:X,label:yo("subTitleLoadGoogleFonts")},fontFamily:{value:K,label:yo("subTitleFontFamily")},fontWeight:{value:Q,label:yo("subTitleFontWeight")},fontSubset:{value:Z,label:yo("subTitleFontSubset")},fontSizeType:{value:ee,label:yo("subTitleFontSizeType")},fontSize:{value:J,label:yo("subTitleFontSize")},fontSizeMobile:{value:te,label:yo("subTitleFontSizeMobile")},fontSizeTablet:{value:ne,label:yo("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),wp.element.createElement(pn,{enableBlockGaps:!1,headerboxColor:L,onChangeboxcolor:e=>re({headerboxColor:e}),dashColor:O,headerlayoutOption:E,onChangeDashColor:e=>re({dashColor:e}),headertitleColor:_,onChangetitlecolor:e=>re({headertitleColor:e}),titlePaddingTop:T,onChangetitlePaddingTop:e=>re({titlePaddingTop:e}),titlePaddingBottom:x,onChangetitlePaddingBottom:e=>re({titlePaddingBottom:e}),headersubtitleColor:S,onChangesubtitlecolor:e=>re({headersubtitleColor:e}),subtitlePaddingTop:M,onChangesubtitlePaddingTop:e=>re({subtitlePaddingTop:e}),subtitlePaddingBottom:C,onChangesubtitlePaddingBottom:e=>re({subtitlePaddingBottom:e})})),wp.element.createElement(xo,{title:yo("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(_e,{enableButtonTarget:!1,buttonTarget:m,onChangeButtonTarget:e=>re({buttonTarget:!m}),enableGradient:F,onChangeGradient:e=>re({enableGradient:e}),enableButtonSize:!0,buttonSize:u,onChangeButtonSize:e=>re({buttonSize:e}),enableButtonShape:!0,buttonShape:d,onChangeButtonShape:e=>re({buttonShape:e}),buttonBackgroundColor:s,onChangeButtonColor:e=>re({buttonBackgroundColor:e}),buttonTextColor:c,onChangeButtonTextColor:e=>re({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:p,onChangeBorderStyle:e=>re({buttonStyle:e}),buttonHoverEffect:I,onchangeButtonHoverEffect:e=>re({buttonHoverEffect:e}),borderColor:D,onchangeBorderColor:e=>re({borderColor:e}),borderBtnTextColor:j,onChangeBorderBtnTextColor:e=>re({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:H,onchangebtnBorderWidth:e=>re({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:A,onchangeBtnFontWeight:e=>re({btnFontWeight:e})}),"none"===p&&wp.element.createElement(Co,{label:yo("Enable Gradient","blockspare"),checked:F,onChange:()=>this.props.setAttributes({enableGradient:!F})}),F&&"none"===p&&wp.element.createElement(xo,{title:yo("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Me,{backgroundColor1:P,onChangeBackgroundColor1:e=>re({backgroundColor1:e}),backgroundColor2:Y,onChangeBackgroundColor2:e=>re({backgroundColor2:e}),gradientAngle:N,onChangeGradientAngle:e=>re({gradientAngle:e}),colorLocation1:z,onChangeColorLocation1:e=>re({colorLocation1:e}),colorLocation2:B,onChangeColorLocation2:e=>re({colorLocation2:e})}))),wp.element.createElement(xo,{title:yo("Background Settings","blockspare"),initialOpen:!1},wp.element.createElement(Co,{label:yo("Display Image","blockspare"),checked:r,onChange:()=>this.props.setAttributes({showImage:!r})}),1==r&&wp.element.createElement("div",null,wp.element.createElement(_o,{onSelect:e=>{re({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:i,render:({open:e})=>wp.element.createElement("div",null,wp.element.createElement(Mo,{className:"aft-cta-inspector-media",label:yo("Edit image","blockspare"),icon:"format-image",onClick:e},yo("Select Image","blockspare")),o&&!!o.length&&wp.element.createElement(Mo,{className:"blockspare-cta-inspector-media",label:yo("Remove Image","blockspare"),icon:"dismiss",onClick:oe},yo("Remove","blockspare")))}),wp.element.createElement("div",null,o&&!!o.length&&wp.element.createElement("img",{src:o,width:"100px",height:"100px",alt:l}))),o&&!!o.length&&1==r&&wp.element.createElement(To,{label:yo("Image Opacity","blockspare"),value:n,onChange:e=>this.props.setAttributes({opacityRatio:e}),min:0,max:100,step:10}),wp.element.createElement(So,{title:yo("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:a,onChange:e=>re({ctaBackGroundColor:e}),label:yo("Background Color","blockspare")}]})),wp.element.createElement(xo,{title:yo("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(xo,{title:yo("Padding Settings","blockspare"),initialOpen:!0},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:f,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>re({paddingTop:e}),paddingEnableRight:!0,paddingRight:b,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>re({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:g,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>re({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:h,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>re({paddingLeft:e})})),wp.element.createElement(xo,{title:yo("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:y,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>re({marginTop:e}),marginEnableBottom:!0,marginBottom:v,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>re({marginBottom:e})})))))}}var Do=n(264),jo=n.n(Do);function Fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Po(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}if(void 0===Yo)var Yo=[];const No=wp.element.Component,zo="inactive",Bo="active",Ao="loading";class Ho extends No{constructor(e){super(e),this.state={status:void 0},this.handleLoading=()=>{this.setState({status:Ao})},this.addFont=e=>{Yo.includes(e)||Yo.push(e)},this.handleActive=()=>{this.setState({status:Bo})},this.handleInactive=()=>{this.setState({status:zo})},this.loadFonts=()=>{Yo.includes(this.props.config.google.families[0])||(jo.a.load(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fo(Object(n),!0).forEach((function(t){Po(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props.config,{loading:this.handleLoading,active:this.handleActive,inactive:this.handleInactive})),this.addFont(this.props.config.google.families[0]))}}componentDidMount(){this.loadFonts()}componentDidUpdate(e,t){const n=this.props,a=n.onStatus,r=n.config;t.status!==this.state.status&&a(this.state.status),e.config!==r&&this.loadFonts()}render(){return this.props.children||null}}Ho.propTypes={config:tt.a.object.isRequired,children:tt.a.element,onStatus:tt.a.func.isRequired},Ho.defaultProps={onStatus:()=>{}};var Io=Ho;const Ro=wp.i18n.__,Wo=wp.element,Uo=Wo.Component,Go=Wo.Fragment,Vo=wp.editor,qo=Vo.RichText;Vo.getFontSizeClass,Vo.getColorClassName;class $o extends Uo{render(){const e=this.props,t=(e.align,e.sectionAlignment,e.headerTitle),n=e.headerTagOption,a=e.headerSubTitle,r=e.setAttributes,o=(e.isSelected,e.titleLoadGoogleFonts),i=e.titleFontFamily,l=e.titleFontWeight,s=(e.titleFontSubset,e.subTitleLoadGoogleFonts),c=e.subTitleFontFamily,u=e.subTitleFontWeight;let p,d;if(1==o){const e={google:{families:[i+(l?":"+l:"")]}};p=wp.element.createElement(Io,{config:e})}if(1==s){const e={google:{families:[c+(u?":"+u:"")]}};d=wp.element.createElement(Io,{config:e})}return wp.element.createElement(Go,null,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash"}),wp.element.createElement(qo,{tagName:n,placeholder:Ro("Title","blockspare"),keepPlaceholderOnFocus:!0,value:t,className:"blockspare-title",onChange:e=>r({headerTitle:e})}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash"})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash"}),wp.element.createElement(qo,{tagName:"p",placeholder:Ro("Sub Title","blockspare"),keepPlaceholderOnFocus:!0,value:a,className:"blockspare-subtitle",onChange:e=>r({headerSubTitle:e})}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash"}),p,d))}}var Jo=e=>{let t="";return e.enableBoxShadow&&(t={boxShadow:e.xOffset+"px "+e.yOffset+"px "+e.blur+"px "+e.spread+"px "+e.shadowColor}),t};var Xo=e=>{let t="";return t={textAlign:e.sectionAlignment,paddingTop:e.paddingTop?e.paddingTop+"px":"0px",paddingRight:e.paddingRight?e.paddingRight+"px":"0px",paddingBottom:e.paddingBottom?e.paddingBottom+"px":"0px",paddingLeft:e.paddingLeft?e.paddingLeft+"px":"0px",marginTop:e.marginTop?e.marginTop+"px":"0px",marginBottom:e.marginBottom?e.marginBottom+"px":"0px"},t};function Ko(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Qo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ko(Object(n),!0).forEach((function(t){Zo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ko(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ei=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.ctaBackGroundColor,r=t.borderRadius,o=t.headertitleColor,i=t.titleFontSize,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.headersubtitleColor,u=(t.subtitleFontSize,t.subtitlePaddingTop),p=t.subtitlePaddingBottom,d=t.dashColor,m=t.headerboxColor,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,y=t.titleFontSizeTablet,v=t.subTitleFontSize,w=t.subTitleFontFamily,k=t.subTitleFontWeight,_=(t.subTitleFontSubset,t.subTitleFontSizeType),S=t.subTitleFontSizeMobile,E=t.subTitleFontSizeTablet,T=t.headerpaddingTop,x=t.headerpaddingRight,M=t.headerpaddingBottom,C=t.headerpaddingLeft,L=t.headermarginTop,O=t.headermarginBottom,D=t.buttonStyle,j=t.enableGradient,F=t.backgroundColor1,P=t.backgroundColor2,Y=t.gradientAngle,N=t.colorLocation1,z=t.colorLocation2,B=t.btnFontWeight,A=t.btnBorderWidth,H=t.borderColor,I=t.buttonBackgroundColor,R=t.borderBtnTextColor,W=t.buttonTextColor,U=[];if(U.push({".blockspare-cta-wrapper":Qo({backgroundColor:a||"#0e0e0e"},Jo(e.attributes),{},Xo(e.attributes),{borderRadius:r?r+"px":null})}),"none"===D)if(1==j){const e=Y+"deg",t=N+"%",n=z+"%";U.push({".blockspare-block-button span":{color:W||"#fff",fontWeight:B,borderWidth:A+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${F||"#3B1A5B"} ${t},${P||"#8B249C"} ${n})`}})}else U.push({".blockspare-block-button span":{color:W||"#fff",fontWeight:B,borderWidth:A+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:I||"#3c1a5b"}});else U.push({".blockspare-block-button span":{color:R||"#404040",borderColor:H||"#3c1a5b",borderStyle:D,fontWeight:B,borderWidth:A+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return U.push({".blockspare-section-head-wrap":{backgroundColor:m||"transparent",textAlign:n,paddingTop:T+"px",paddingRight:x+"px",paddingBottom:M+"px",marginTop:L+"px",marginBottom:O+"px",paddingLeft:C+"px"}}),U.push({".blockspare-title":{color:o,fontSize:i+g+"!important",fontFamily:f+"!important",fontWeight:b+"!important",paddingTop:l+"px ",paddingBottom:s+"px"},".blockspare-subtitle":{color:c,fontSize:v+_+"!important",fontFamily:w+"!important",fontWeight:k+"!important",paddingTop:u+"px",paddingBottom:p+"px"},".blockspare-title-dash":{color:d},tablet:{".blockspare-title":{fontSize:y+g+"!important"},".blockspare-subtitle":{fontSize:E+_+"!important"}},mobile:{".blockspare-title":{fontSize:h+g+"!important"},".blockspare-subtitle":{fontSize:S+_+"!important"}}}),dt.a.all(U)};function ti(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ni(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ai=blockspare_globals,ri=wp.element,oi=ri.Component,ii=ri.Fragment,li=wp.compose.compose,si=wp.i18n.__,ci=wp.blockEditor,ui=ci.AlignmentToolbar,pi=ci.URLInput,di=ci.BlockControls,mi=ci.BlockAlignmentToolbar,fi=ci.RichText,bi=wp.components,gi=bi.IconButton,hi=bi.Dashicon;var yi=li(ut,lt(ei))(class extends oi{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,o=t.buttonAlignment,l=t.buttonSize,s=t.buttonShape,c=t.showImage,u=t.imgURL,p=t.sectionAlignment,d=t.backgroundFix,m=(t.imgAlt,t.opacityRatio),f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,y=t.headerlayoutOption,v=(t.profileContentFontSize,t.titleLoadGoogleFonts),w=t.titleFontFamily,k=t.titleFontWeight,_=t.subTitleLoadGoogleFonts,S=t.subTitleFontFamily,E=t.subTitleFontWeight,T=e.className,x=e.isSelected,M=(e.attributes,e.setAttributes);let C="url("+ai.img+")";u&&u.length&&(C="url("+u+")");const L=i()([T,"align"+n,"blockspare-calltoaction"]);return wp.element.createElement(ii,null,wp.element.createElement(di,null,wp.element.createElement(mi,{value:n,onChange:e=>{M({align:e})},controls:["center","wide","full"]}),wp.element.createElement(ui,{value:p,onChange:e=>{M({sectionAlignment:e})}})),wp.element.createElement(Oo,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ti(Object(n),!0).forEach((function(t){ni(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ti(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:M},this.props)),wp.element.createElement("div",{className:L},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-cta-wrapper blockspare-blocks","align"+n,u&&u.length&&d?"blockspare-background-fix":"")},c&&wp.element.createElement("div",{className:i()("blockspare-image-wrap","blockspare-cta-background",(O=m,0===O?null:"has-background-opacity-"+10*Math.round(O/10)),{"has-background-opacity":0!==m}),style:{backgroundImage:C}}),wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",y,"blockspare-"+p)},wp.element.createElement($o,{setAttributes:M,headerTitle:b,headerTagOption:f,headerSubTitle:g,titleFontFamily:w,titleFontWeight:k,titleLoadGoogleFonts:v,subTitleLoadGoogleFonts:_,subTitleFontFamily:S,subTitleFontWeight:E}))),wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement(fi,{tagName:"span",placeholder:si("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:`<span>${a}</span>`,allowedFormats:[],className:i()("blockspare-button",s,l,h),onChange:e=>M({buttonText:e})})),x&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+o,onSubmit:e=>e.preventDefault()},wp.element.createElement(hi,{icon:"admin-links"}),wp.element.createElement(pi,{className:"button-url",value:r,onChange:e=>M({buttonUrl:e})}),wp.element.createElement(gi,{icon:"editor-break",label:si("Apply","blockspare"),type:"submit"})))));var O}});const vi=wp.element,wi=vi.Component,ki=vi.Fragment,_i=wp.editor,Si=_i.RichText;_i.getFontSizeClass,_i.getColorClassName;class Ei extends wi{render(){const e=this.props,t=(e.align,e.headerTitle),n=e.headerTagOption,a=e.headerSubTitle;return wp.element.createElement(ki,null,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash"}),t&&wp.element.createElement(Si.Content,{tagName:n,className:"blockspare-title",value:t}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash"})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash"}),a&&wp.element.createElement(Si.Content,{tagName:"p",className:"blockspare-subtitle",value:a}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash"})))}}const Ti=blockspare_globals,xi=wp.element.Component,Mi=(wp.i18n.__,wp.compose.compose),Ci=wp.blockEditor.RichText;var Li=Mi(ut,lt(ei))(class extends xi{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,o=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.opacityRatio,u=t.sectionAlignment,p=t.showImage,d=t.imgURL,m=t.headerlayoutOption,f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,y=t.backgroundFix,v=e.className;e.attributes;let w="url("+Ti.img+")";d&&d.length&&(w="url("+d+")");const k=i()([v,"align"+n,"blockspare-calltoaction"]);return wp.element.createElement("div",{className:k},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-cta-wrapper blockspare-blocks",d&&d.length&&y?"blockspare-background-fix":"")},p&&wp.element.createElement("div",{className:i()("blockspare-image-wrap","blockspare-cta-background",(_=c,0===_?null:"has-background-opacity-"+10*Math.round(_/10)),{"has-background-opacity":0!==c}),style:{backgroundImage:w}}),wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",m,"blockspare-"+u)},wp.element.createElement(Ei,{headerTitle:b,headerTagOption:f,headerSubTitle:g}))),wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:o?"_blank":null,rel:o?"noopener noreferrer":null,className:i()("blockspare-button",s,l,h)},wp.element.createElement(Ci.Content,{tagName:"span",value:a})))));var _}});var Oi=n(265);var Di=e=>{let t="";return t={borderColor:e.dashColor?e.dashColor:"#8b249c"},t};var ji=e=>{let t="";return t={color:e.headertitleColor?e.headertitleColor:"#404040",fontSize:e.titleFontSize+"px",paddingTop:e.titlePaddingTop?e.titlePaddingTop+"px":"0px",paddingBottom:e.titlePaddingBottom?e.titlePaddingBottom+"px":"0px"},t};var Fi=e=>{let t="";return t={fontSize:e.subtitleFontSize+"px",color:e.headersubtitleColor?e.headersubtitleColor:"#6d6d6d",paddingTop:e.subtitlePaddingTop?e.subtitlePaddingTop+"px":void 0,paddingBottom:e.subtitlePaddingBottom?e.subtitlePaddingBottom+"px":void 0},t};var Pi=e=>{let t="";if("none"===e.buttonStyle)if(1==e.enableGradient){const n=e.gradientAngle+"deg",a=e.colorLocation1+"%",r=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${n},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${a},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${r})`,color:e.buttonTextColor?e.buttonTextColor:"#fff",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"}}else t={color:e.buttonTextColor?e.buttonTextColor:"#fff",backgroundColor:e.buttonBackgroundColor?e.buttonBackgroundColor:"#3c1a5b",fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};else t={color:e.borderBtnTextColor?e.borderBtnTextColor:"#404040",backgroundColor:"transparent",borderColor:e.borderColor?e.borderColor:"#3c1a5b",borderStyle:e.buttonStyle,fontWeight:e.btnFontWeight,borderWidth:e.btnBorderWidth+"px"};return t};function Yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ni(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zi=wp.element.Component;class Bi extends zi{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yi(Object(n),!0).forEach((function(t){Ni(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({backgroundColor:e.ctaBackGroundColor?e.ctaBackGroundColor:"#0e0e0e"},Jo(e),{},Xo(e),{borderRadius:e.borderRadius?e.borderRadius:null});return wp.element.createElement("div",{className:i()("blockspare-cta-wrapper blockspare-blocks","align"+e.align,e.imgURL&&e.imgURL.length&&e.backgroundFix?"blockspare-background-fix":""),style:t},this.props.children)}}var Ai=e=>{let t="";return t={textAlign:e.sectionAlignment,paddingTop:e.headerpaddingTop?e.headerpaddingTop+"px":"0px",paddingRight:e.headerpaddingRight?e.headerpaddingRight+"px":"0px",paddingBottom:e.headerpaddingBottom?e.headerpaddingBottom+"px":"0px",marginTop:e.headermarginTop?e.headermarginTop+"px":"0px",marginBottom:e.headermarginBottom?e.headermarginBottom+"px":"0px",paddingLeft:e.headerpaddingLeft?e.headerpaddingLeft+"px":"0px",backgroundColor:e.headerboxColor?e.headerboxColor:"transparent"},t};function Hi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ii(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ri=wp.element.Component;class Wi extends Ri{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerlayoutOption,o=e.attributes,l=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hi(Object(n),!0).forEach((function(t){Ii(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ai(o)));return wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks","align"+n),style:l},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",r,"blockspare-"+a)},this.props.children))}}const Ui=wp.element.Component;class Gi extends Ui{constructor(e){super(...arguments)}render(){return wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:i()(this.props.className,"blockspare-block-button")},this.props.children)}}function Vi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function qi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vi(Object(n),!0).forEach((function(t){$i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ji=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.ctaBackGroundColor,r=t.borderRadius,o=t.headertitleColor,i=t.titleFontSize,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.headersubtitleColor,u=(t.subtitleFontSize,t.subtitlePaddingTop),p=t.subtitlePaddingBottom,d=t.dashColor,m=t.headerboxColor,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,y=t.titleFontSizeTablet,v=t.subTitleFontSize,w=t.subTitleFontFamily,k=t.subTitleFontWeight,_=(t.subTitleFontSubset,t.subTitleFontSizeType),S=t.subTitleFontSizeMobile,E=t.subTitleFontSizeTablet,T=t.headerpaddingTop,x=t.headerpaddingRight,M=t.headerpaddingBottom,C=t.headerpaddingLeft,L=t.headermarginTop,O=t.headermarginBottom,D=[];return D.push({".blockspare-cta-wrapper":qi({backgroundColor:a||"#0e0e0e"},Jo(e.attributes),{},Xo(e.attributes),{borderRadius:r?r+"px":null}),".blockspare-button":qi({},Ft(e.attributes))}),D.push({".blockspare-section-head-wrap":{backgroundColor:m||"transparent",textAlign:n,paddingTop:T+"px",paddingRight:x+"px",paddingBottom:M+"px",marginTop:L+"px",marginBottom:O+"px",paddingLeft:C+"px"}}),D.push({".blockspare-title":{color:o,fontSize:i+g+"!important",fontFamily:f+"!important",fontWeight:b+"!important",paddingTop:l+"px ",paddingBottom:s+"px"},".blockspare-subtitle":{color:c,fontSize:v+_+"!important",fontFamily:w+"!important",fontWeight:k+"!important",paddingTop:u+"px",paddingBottom:p+"px"},".blockspare-title-dash":{color:d},tablet:{".blockspare-title":{fontSize:y+g+"!important"},".blockspare-subtitle":{fontSize:E+_+"!important"}},mobile:{".blockspare-title":{fontSize:h+g+"!important"},".blockspare-subtitle":{fontSize:S+_+"!important"}}}),dt.a.all(D)};const Xi=blockspare_globals,Ki=wp.element.Component,Qi=(wp.i18n.__,wp.compose.compose),Zi=wp.blockEditor.RichText;var el=Qi(ut,lt(Ji))(class extends Ki{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,o=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.opacityRatio,u=t.sectionAlignment,p=t.showImage,d=t.imgURL,m=t.headerlayoutOption,f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,y=t.backgroundFix,v=e.className;e.attributes;let w="url("+Xi.img+")";d&&d.length&&(w="url("+d+")");const k=i()([v,"align"+n,"blockspare-calltoaction"]);return wp.element.createElement("div",{className:k},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-cta-wrapper blockspare-blocks",d&&d.length&&y?"blockspare-background-fix":"")},p&&wp.element.createElement("div",{className:i()("blockspare-image-wrap","blockspare-cta-background",(_=c,0===_?null:"has-background-opacity-"+10*Math.round(_/10)),{"has-background-opacity":0!==c}),style:{backgroundImage:w}}),wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",m,"blockspare-"+u)},wp.element.createElement(Ei,{headerTitle:b,headerTagOption:f,headerSubTitle:g}))),wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:o?"_blank":null,rel:o?"noopener noreferrer":null,className:i()("blockspare-button",s,l,h)},wp.element.createElement(Zi.Content,{value:a})))));var _}});function tl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function nl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tl(Object(n),!0).forEach((function(t){al(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function al(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rl=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.ctaBackGroundColor,r=t.borderRadius,o=t.headertitleColor,i=t.titleFontSize,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.headersubtitleColor,u=(t.subtitleFontSize,t.subtitlePaddingTop),p=t.subtitlePaddingBottom,d=t.dashColor,m=t.headerboxColor,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,y=t.titleFontSizeTablet,v=t.subTitleFontSize,w=t.subTitleFontFamily,k=t.subTitleFontWeight,_=(t.subTitleFontSubset,t.subTitleFontSizeType),S=t.subTitleFontSizeMobile,E=t.subTitleFontSizeTablet,T=t.headerpaddingTop,x=t.headerpaddingRight,M=t.headerpaddingBottom,C=t.headerpaddingLeft,L=t.headermarginTop,O=t.headermarginBottom,D=[];return D.push({".blockspare-cta-wrapper":nl({backgroundColor:a||"#0e0e0e"},Jo(e.attributes),{},Xo(e.attributes),{borderRadius:r?r+"px":null}),".blockspare-button":nl({},Pt(e.attributes))}),D.push({".blockspare-section-head-wrap":{backgroundColor:m||"transparent",textAlign:n,paddingTop:T+"px",paddingRight:x+"px",paddingBottom:M+"px",marginTop:L+"px",marginBottom:O+"px",paddingLeft:C+"px"}}),D.push({".blockspare-title":{color:o,fontSize:i+g+"!important",fontFamily:f+"!important",fontWeight:b+"!important",paddingTop:l+"px ",paddingBottom:s+"px"},".blockspare-subtitle":{color:c,fontSize:v+_+"!important",fontFamily:w+"!important",fontWeight:k+"!important",paddingTop:u+"px",paddingBottom:p+"px"},".blockspare-title-dash":{color:d},tablet:{".blockspare-title":{fontSize:y+g+"!important"},".blockspare-subtitle":{fontSize:E+_+"!important"}},mobile:{".blockspare-title":{fontSize:h+g+"!important"},".blockspare-subtitle":{fontSize:S+_+"!important"}}}),dt.a.all(D)};const ol=blockspare_globals,il=wp.element.Component,ll=(wp.i18n.__,wp.compose.compose),sl=wp.blockEditor.RichText;var cl=ll(ut,lt(rl))(class extends il{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,o=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.opacityRatio,u=t.sectionAlignment,p=t.showImage,d=t.imgURL,m=t.headerlayoutOption,f=t.headerTagOption,b=t.headerTitle,g=t.headerSubTitle,h=t.buttonHoverEffect,y=t.backgroundFix,v=e.className;e.attributes;let w="url("+ol.img+")";d&&d.length&&(w="url("+d+")");const k=i()([v,"align"+n,"blockspare-calltoaction"]);return wp.element.createElement("div",{className:k},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-cta-wrapper blockspare-blocks",d&&d.length&&y?"blockspare-background-fix":"")},p&&wp.element.createElement("div",{className:i()("blockspare-image-wrap","blockspare-cta-background",(_=c,0===_?null:"has-background-opacity-"+10*Math.round(_/10)),{"has-background-opacity":0!==c}),style:{backgroundImage:w}}),wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",m,"blockspare-"+u)},wp.element.createElement(Ei,{headerTitle:b,headerTagOption:f,headerSubTitle:g}))),wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:o?"_blank":null,rel:o?"noopener noreferrer":null,className:i()("blockspare-button",s,l,h)},wp.element.createElement(sl.Content,{value:a})))));var _}});function ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function pl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ul(Object(n),!0).forEach((function(t){dl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ul(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ml=blockspare_globals,fl=pl({},nn,{},Oi.attributes,{},jt,{},Jt,{},an),bl=wp.blockEditor.RichText;wp.i18n.__;var gl=[{attributes:fl,save:function(e){const t=e.attributes,n=(t.align,t.buttonText),a=t.buttonUrl,r=t.buttonTarget,o=t.buttonSize,l=t.buttonShape,s=t.opacityRatio,c=t.sectionAlignment,u=t.showImage,p=t.imgURL,d=(t.imgAlt,t.headerTagOption),m=t.headerTitle,f=t.headerSubTitle,b=t.buttonHoverEffect,g=pl({},Di(e.attributes)),h=pl({},ji(e.attributes)),y=pl({},Fi(e.attributes)),v=pl({},Pi(e.attributes));let w="url("+ml.img+")";p&&p.length&&(w="url("+p+")");pl({backgroundColor:fl.ctaBackGroundColor?fl.ctaBackGroundColor:"#0e0e0e"},Jo(fl),{},Xo(fl),{borderRadius:fl.borderRadius?fl.borderRadius:null});return wp.element.createElement(Bi,e,u&&p&&wp.element.createElement("div",{className:i()("blockspare-image-wrap","blockspare-cta-background",(k=s,0===k?null:"has-background-opacity-"+10*Math.round(k/10)),{"has-background-opacity":0!==s}),style:{backgroundImage:w}}),!p&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-head-wrap",style:{textAlign:c}},wp.element.createElement(Wi,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:g}),m&&wp.element.createElement(bl.Content,{tagName:d,className:"blockspare-title",style:h,value:m}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:g})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:g}),f&&wp.element.createElement(bl.Content,{tagName:"p",className:"blockspare-subtitle",style:y,value:f}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:g})))),wp.element.createElement(Gi,e,n&&wp.element.createElement("a",{href:a,target:r?"_blank":null,rel:r?"noopener noreferrer":null,className:i()("blockspare-button",l,o,b),style:v},wp.element.createElement(bl.Content,{value:n}))));var k}},{attributes:pl({},nn,{className:{type:"string"},align:{type:"string",default:"center"},sectionAlignment:{type:"string",default:"center"},showImage:{type:"boolean",default:!0},imgURL:{type:"string"},imgID:{type:"number"},imgAlt:{type:"string"},opacityRatio:{type:"number",default:75},ctaBackGroundColor:{type:"string",default:"#0e0e0e"},borderRadius:{type:"number",default:0},headerTagOption:{type:"string",default:"h2"},backgroundFix:{type:"boolean",default:!1},headertitleColor:{type:"string",default:"#fff"},headersubtitleColor:{type:"string",default:"#fff"},headermarginTop:{type:"number",default:5},headermarginBottom:{type:"number",default:5},headerpaddingLeft:{type:"number",default:0},headerpaddingRight:{type:"number",default:0}},jt,{},Jt,{},an),save:e=>wp.element.createElement(cl,e)},{attributes:pl({},nn,{className:{type:"string"},align:{type:"string",default:"center"},sectionAlignment:{type:"string",default:"center"},showImage:{type:"boolean",default:!0},imgURL:{type:"string"},imgID:{type:"number"},imgAlt:{type:"string"},opacityRatio:{type:"number",default:75},ctaBackGroundColor:{type:"string",default:"#0e0e0e"},borderRadius:{type:"number",default:0},headerTagOption:{type:"string",default:"h2"},backgroundFix:{type:"boolean",default:!1},headertitleColor:{type:"string",default:"#fff"},headersubtitleColor:{type:"string",default:"#fff"},headermarginTop:{type:"number",default:5},headermarginBottom:{type:"number",default:5},headerpaddingLeft:{type:"number",default:0},headerpaddingRight:{type:"number",default:0}},jt,{},Jt,{},an),save:e=>wp.element.createElement(el,e)}];function hl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function yl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const vl=tn.name,wl=tn.category,kl=wp.blocks.registerBlockType,_l=wp.i18n.__,Sl=["center","wide","full"],El=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hl(Object(n),!0).forEach((function(t){yl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},nn,{},tn.attributes,{},jt,{},Jt,{},an);kl(vl,{title:_l("BS Call to Action","blockspare"),description:_l("BS call to action allow you to add title,subtitle,text button and background image/color","blockspare"),category:wl,icon:r.cta,attributes:El,keywords:[_l("call to action","blockspare"),_l("block","blockspare"),_l("cta","blockspare"),_l("link","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},getEditWrapperProps(e){const t=e.align;if(-1!==Sl.indexOf(t))return{"data-align":t}},edit:yi,save:Li,deprecated:gl});n(454),n(456);var Tl=n(60);let xl=blockspare_globals.srcUrl+"/dist";var Ml=function({imageFile:e,imageHoverFile:t,imageWidth:n="",imageHeight:a="",label:r}){const o=e?e.match(/https?:/i)?e:xl?`${xl}/${e}`:e:"",i=t?t.match(/https?:/i)?t:xl?`${xl}/${t}`:t:null;return wp.element.createElement("span",{className:"blockspare-design-panel-item"},i&&wp.element.createElement("img",{className:"blockspare-design-panel-item__hover-image",src:i,alt:r,width:n,height:a}),o&&wp.element.createElement("img",{className:"blockspare-design-panel-item__image",src:o,alt:r,width:n,height:a}),wp.element.createElement("span",{className:"design-label"},r))};function Cl(){return(Cl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ll(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ol(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Dl=wp.components.RadioControl;var jl=function(e){const t=e.selected,n=e.options,a=e.onChange,r=e.className,o=void 0===r?"":r,l=n.map(e=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ll(Object(n),!0).forEach((function(t){Ol(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ll(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{label:wp.element.createElement(Ml,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value}));return wp.element.createElement("div",{className:i()(o,"blockspare-design-control-wrapper components-base-control")},wp.element.createElement("div",{className:"components-base-control__label"},e.label),wp.element.createElement(Dl,Cl({},Ue()(e,["label"]),{className:"blockspare-design-control",selected:t,options:l,onChange:a})))};function Fl(){return(Fl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const Pl=wp.i18n.__,Yl=wp.components.BaseControl,Nl=wp.hooks.applyFilters,zl={"double-wave":{image:"images/double-wave.png",label:Pl("Double Wave","blockspare"),value:"double-wave"},wavy:{image:"images/wavy.png",label:Pl("Wavy","blockspare"),value:"wavy"},sloped:{image:"images/sloped.png",label:Pl("Sloped","blockspare"),value:"sloped"},grow:{image:"images/grow.png",label:Pl("Grow","blockspare"),value:"grow"},angled:{image:"images/angled.png",label:Pl("Angled","blockspare"),value:"angled"}},Bl=e=>{const t=Object.keys(zl).filter(t=>!e.excludeDesigns.includes(t)).map(e=>zl[e]);return wp.element.createElement(Yl,{className:"blockspare-design-separator-control",id:"blockspare-design-separator-control",label:e.label,help:e.help},wp.element.createElement(jl,Fl({options:Nl("blockspare.separator.edit.layouts",t,e)},Ue()(e,["label","help"]))))};Bl.defaultProps={label:"",help:"",excludeDesigns:[]};var Al=Bl;function Hl(){return(Hl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const Il=wp.i18n.__,Rl="blockspare".i18n,Wl=wp.components.PanelBody;var Ul=function(e){const t=e.options,n=e.selected,a=e.title,r=void 0===a?Il("Layout",Rl):a,o=e.selectedOptionInTitle,l=void 0===o||o,s=e.help,c=void 0===s?"":s,u=e.className,p=void 0===u?"":u,d=e.initialOpen,m=void 0===d||d,f=t?t.find(e=>e.value===n):null,b=f?`${r} – ${f.label}`:r,g=i()(["blockspare-design-panel-body",p]);return wp.element.createElement(Wl,Hl({title:l?wp.element.createElement("span",null,b):r,className:g,initialOpen:m},Ue()(e,["help"])),c&&wp.element.createElement("p",{className:"components-base-control__help"},c),t&&wp.element.createElement(jl,Ue()(e,["help","title"])),e.children)};const Gl=wp.element.Component,Vl=wp.i18n.__,ql=wp.hooks.applyFilters,$l=wp.blockEditor,Jl=$l.InspectorControls,Xl=$l.MediaUpload,Kl=$l.PanelColorSettings,Ql=wp.components,Zl=Ql.ToggleControl,es=Ql.PanelBody,ts=Ql.SelectControl,ns=Ql.IconButton;Ql.RangeControl;class as extends Gl{render(){const e=[{value:"",label:Vl("Default","blockspare")},{value:"blockspare-style1",label:Vl("Style 1","blockspare")},{value:"blockspare-style2",label:Vl("Style 2","blockspare")}],t=this.props,n=t.attributes,a=n.backGroundColor,r=n.imageShape,o=n.descriptionColor,i=n.imgID,l=n.imgURL,s=n.imgAlt,c=n.showContentImg,u=n.buttonBackgroundColor,p=n.buttonTextColor,d=n.buttonSize,m=n.buttonShape,f=n.buttonTarget,b=n.buttonStyle,g=n.borderColor,h=n.borderBtnTextColor,y=n.showButton,v=n.marginTop,w=n.marginBottom,k=n.layoutOption,_=n.titleFontSize,S=(n.subtitleFontSize,n.headerboxColor),E=n.headertitleColor,T=n.headersubtitleColor,x=n.headerlayoutOption,M=n.titlePaddingTop,C=n.titlePaddingBottom,L=n.subtitlePaddingTop,O=n.subtitlePaddingBottom,D=n.dashColor,j=n.design,F=void 0===j?"style-1":j,P=n.enableGradient,Y=n.backgroundColor1,N=n.backgroundColor2,z=n.gradientAngle,B=n.colorLocation1,A=n.colorLocation2,H=n.headerTagOption,I=(n.enableBoxShadow,n.xOffset,n.yOffset,n.blur,n.spread,n.shadowColor,n.borderRadius,n.btnFontWeight),R=n.btnBorderWidth,W=n.buttonHoverEffect,U=n.titleLoadGoogleFonts,G=n.titleFontFamily,V=n.titleFontWeight,q=n.titleFontSubset,$=n.titleFontSizeType,J=n.titleFontSizeMobile,X=n.titleFontSizeTablet,K=n.subTitleFontSize,Q=n.subTitleLoadGoogleFonts,Z=n.subTitleFontFamily,ee=n.subTitleFontWeight,te=n.subTitleFontSubset,ne=n.subTitleFontSizeType,ae=n.subTitleFontSizeMobile,re=n.subTitleFontSizeTablet,oe=n.descriptionFontSize,ie=n.descriptionFontFamily,le=n.descriptionFontWeight,se=n.descriptionFontSubset,ce=n.descriptionFontSizeType,ue=n.descriptionFontSizeMobile,pe=n.descriptionFontSizeTablet,de=n.descriptionLoadGoogleFonts,me=t.attributes,fe=t.setAttributes,be=()=>{fe({imgID:null,imgURL:null,imgAlt:null})},ge=[{value:"blockspare-style1",label:Vl("Layout 1","blockspare")},{value:"blockspare-style2",label:Vl("Layout 2","blockspare")},{value:"blockspare-style3",label:Vl("Layout 3","blockspare")}];return wp.element.createElement(Jl,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Ul,{initialOpen:!1,selected:F,options:ql("blockspare.cta.edit.layouts",[{label:Vl("Layout 1","blockspare"),value:"style-1",image:"images/style-1.png"},{label:Vl("Layout 2","blockspare"),value:"style-2",image:"images/style-2.png"},{label:Vl("Layout 3","blockspare"),value:"style-3",image:"images/style-3.png"}]),onChange:e=>fe({design:e})}),wp.element.createElement(es,{title:Vl("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(Zl,{label:Vl("Display Button","blockspare"),checked:y,onChange:()=>this.props.setAttributes({showButton:!y})}),wp.element.createElement(Zl,{label:Vl("Reverse","blockspare"),checked:k,onChange:()=>this.props.setAttributes({layoutOption:!k})}),c&&wp.element.createElement(Xl,{onSelect:e=>{fe({imgID:e.id,imgURL:e.url,imgAlt:e.alt})},type:"image",value:i,render:({open:e})=>wp.element.createElement("div",null,wp.element.createElement(ns,{className:"aft-cta-inspector-media",label:Vl("Edit image","blockspare"),icon:"format-image",onClick:e},Vl("Select Image","blockspare")),l&&!!l.length&&wp.element.createElement(ns,{className:"blockspare-cta-inspector-media",label:Vl("Remove Image","blockspare"),icon:"dismiss",onClick:be},Vl("Remove","blockspare")))}),l&&!!l.length&&wp.element.createElement("div",null,wp.element.createElement("img",{src:l,width:"100px",height:"100px",alt:s})),l&&!!l.length&&wp.element.createElement(ts,{label:Vl("Choose Image Shape","blockspare"),options:e,value:r,onChange:e=>this.props.setAttributes({imageShape:e})}),"style-3"!=F&&wp.element.createElement(Kl,{title:Vl("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:e=>fe({backGroundColor:e}),label:Vl("Background Color","blockspare")}]})),wp.element.createElement(es,{title:Vl("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(es,{title:Vl("Layouts","blockspare"),initialOpen:!1},wp.element.createElement(ts,{label:Vl("Header Style","blockspare"),value:x,options:ge.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>this.props.setAttributes({headerlayoutOption:e})})),wp.element.createElement(es,{title:Vl("Typography Settings","blockspare")},wp.element.createElement(ho,{label:Vl("Title Fonts Settings"),attributes:me,setAttributes:fe,loadGoogleFonts:{value:U,label:Vl("titleLoadGoogleFonts")},fontFamily:{value:G,label:Vl("titleFontFamily")},fontWeight:{value:V,label:Vl("titleFontWeight")},fontSubset:{value:q,label:Vl("titleFontSubset")},fontSizeType:{value:$,label:Vl("titleFontSizeType")},fontSize:{value:_,label:Vl("titleFontSize")},fontSizeMobile:{value:J,label:Vl("titleFontSizeMobile")},fontSizeTablet:{value:X,label:Vl("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:H}),wp.element.createElement(ho,{label:Vl("Subtitle Fonts Settings"),attributes:me,setAttributes:fe,loadGoogleFonts:{value:Q,label:Vl("subTitleLoadGoogleFonts")},fontFamily:{value:Z,label:Vl("subTitleFontFamily")},fontWeight:{value:ee,label:Vl("subTitleFontWeight")},fontSubset:{value:te,label:Vl("subTitleFontSubset")},fontSizeType:{value:ne,label:Vl("subTitleFontSizeType")},fontSize:{value:K,label:Vl("subTitleFontSize")},fontSizeMobile:{value:ae,label:Vl("subTitleFontSizeMobile")},fontSizeTablet:{value:re,label:Vl("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),wp.element.createElement(ho,{label:Vl("Description Fonts Settings"),attributes:me,setAttributes:fe,loadGoogleFonts:{value:de,label:Vl("descriptionLoadGoogleFonts")},fontFamily:{value:ie,label:Vl("descriptionFontFamily")},fontWeight:{value:le,label:Vl("descriptionFontWeight")},fontSubset:{value:se,label:Vl("descriptionFontSubset")},fontSizeType:{value:ce,label:Vl("descriptionFontSizeType")},fontSize:{value:oe,label:Vl("descriptionFontSize")},fontSizeMobile:{value:ue,label:Vl("descriptionFontSizeMobile")},fontSizeTablet:{value:pe,label:Vl("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(pn,{enableBlockGaps:!1,headerboxColor:S,onChangeboxcolor:e=>fe({headerboxColor:e}),dashColor:D,headerTagOption:H,onChangeDashColor:e=>fe({dashColor:e}),headertitleColor:E,onChangetitlecolor:e=>fe({headertitleColor:e}),titlePaddingTop:M,onChangetitlePaddingTop:e=>fe({titlePaddingTop:e}),titlePaddingBottom:C,onChangetitlePaddingBottom:e=>fe({titlePaddingBottom:e}),headersubtitleColor:T,onChangesubtitlecolor:e=>fe({headersubtitleColor:e}),subtitlePaddingTop:L,onChangesubtitlePaddingTop:e=>fe({subtitlePaddingTop:e}),subtitlePaddingBottom:O,onChangesubtitlePaddingBottom:e=>fe({subtitlePaddingBottom:e})})),wp.element.createElement(es,{title:Vl("Color Settings","blockspare"),initialOpen:!1},wp.element.createElement(Kl,{title:Vl("Description Color","blockspare"),initialOpen:!1,colorSettings:[{value:o,onChange:e=>fe({descriptionColor:e}),label:Vl("Description Color","blockspare")}]})),y&&wp.element.createElement(es,{title:Vl("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(_e,{enableButtonTarget:!1,buttonTarget:f,onChangeButtonTarget:e=>fe({buttonTarget:!f}),enableGradient:P,onChangeGradient:e=>fe({enableGradient:e}),enableButtonSize:!0,buttonSize:d,onChangeButtonSize:e=>fe({buttonSize:e}),enableButtonShape:!0,buttonShape:m,onChangeButtonShape:e=>fe({buttonShape:e}),buttonBackgroundColor:u,onChangeButtonColor:e=>fe({buttonBackgroundColor:e}),buttonTextColor:p,onChangeButtonTextColor:e=>fe({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:b,onChangeBorderStyle:e=>fe({buttonStyle:e}),buttonHoverEffect:W,onchangeButtonHoverEffect:e=>fe({buttonHoverEffect:e}),borderColor:g,onchangeBorderColor:e=>fe({borderColor:e}),borderBtnTextColor:h,onChangeBorderBtnTextColor:e=>fe({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:R,onchangebtnBorderWidth:e=>fe({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:I,onchangeBtnFontWeight:e=>fe({btnFontWeight:e})}),"none"===b&&wp.element.createElement(Zl,{label:Vl("Enable Gradient","blockspare"),checked:P,onChange:()=>this.props.setAttributes({enableGradient:!P})}),P&&"none"===b&&y&&wp.element.createElement(es,{title:Vl("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Me,{backgroundColor1:Y,onChangeBackgroundColor1:e=>fe({backgroundColor1:e}),backgroundColor2:N,onChangeBackgroundColor2:e=>fe({backgroundColor2:e}),gradientAngle:z,onChangeGradientAngle:e=>fe({gradientAngle:e}),colorLocation1:B,onChangeColorLocation1:e=>fe({colorLocation1:e}),colorLocation2:A,onChangeColorLocation2:e=>fe({colorLocation2:e})}))),wp.element.createElement(es,{title:Vl("Block Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:v,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>fe({marginTop:e}),marginEnableBottom:!0,marginBottom:w,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>fe({marginBottom:e})}))))}}var rs=e=>{let t="";return"style-3"!=e.design&&(t={boxShadow:e.enableBoxShadow?e.xOffset+"px "+e.yOffset+"px "+e.blur+"px "+e.spread+"px "+e.shadowColor:"",borderRadius:e.borderRadius?e.borderRadius:null,backgroundColor:e.enableBackgroundColor?e.backGroundColor:void 0}),t};function os(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function is(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?os(Object(n),!0).forEach((function(t){ls(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):os(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ls(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ss=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,o=t.titlePaddingTop,i=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.backGroundColor,y=t.subTitleFontSize,v=t.subTitleFontFamily,w=t.subTitleFontWeight,k=t.subTitleFontSizeType,_=t.subTitleFontSizeMobile,S=t.subTitleFontSizeTablet,E=t.headerpaddingTop,T=t.headerpaddingRight,x=t.headerpaddingBottom,M=t.headerpaddingLeft,C=t.headermarginTop,L=t.headermarginBottom,O=t.descriptionColor,D=t.descriptionFontSize,j=t.descriptionFontFamily,F=t.descriptionFontWeight,P=(t.descriptionFontSubset,t.descriptionFontSizeType),Y=t.descriptionFontSizeMobile,N=t.descriptionFontSizeTablet,z=t.design,B=t.buttonStyle,A=t.enableGradient,H=t.backgroundColor1,I=t.backgroundColor2,R=t.gradientAngle,W=t.colorLocation1,U=t.colorLocation2,G=t.btnFontWeight,V=t.btnBorderWidth,q=t.borderColor,$=t.buttonBackgroundColor,J=t.borderBtnTextColor,X=t.buttonTextColor,K=[];if("style-3"!==z&&K.push({".blockspare-contentBox .blockspare-section-wrapper":{backgroundColor:h||"#fff"}}),K.push({".blockspare-content-wrapper":is({},Xo(e.attributes)),".blockspare-description":{color:O,fontSize:D+P,fontFamily:j,fontWeight:F},".blockspare-mainheader-wrap":is({},rs(e.attributes)),".blockspare-section-header-wrapper":{borderColor:u}}),K.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:E+"px",paddingRight:T+"px",paddingBottom:x+"px",marginTop:C+"px",marginBottom:L+"px",paddingLeft:M+"px"}}),"none"===B)if(1==A){const e=R+"deg",t=W+"%",n=U+"%";K.push({".blockspare-block-button span":{color:X||"#fff",fontWeight:G,borderWidth:V+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${H||"#3B1A5B"} ${t},${I||"#8B249C"} ${n})`}})}else K.push({".blockspare-block-button span":{color:X||"#fff",fontWeight:G,borderWidth:V+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:$||"#3c1a5b"}});else K.push({".blockspare-block-button span":{color:J||"#404040",borderColor:q||"#3c1a5b",borderStyle:B,fontWeight:G,borderWidth:V+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return K.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:o+"px ",paddingBottom:i+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:y+k,fontFamily:v,fontWeight:w,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:S+k},".blockspare-description":{fontSize:N+k}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+k},".blockspare-description":{fontSize:Y+k}}}),dt.a.all(K)};function cs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function us(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ps=blockspare_globals,ds=wp.element,ms=ds.Component,fs=ds.Fragment,bs=wp.i18n.__,gs=wp.compose.compose,hs=wp.blockEditor,ys=hs.BlockControls,vs=hs.RichText,ws=hs.URLInput,ks=hs.AlignmentToolbar,_s=wp.components,Ss=_s.IconButton,Es=_s.Dashicon;var Ts=gs(ut,lt(ss))(class extends ms{render(){const e=this.props,t=e.attributes,n=(t.align,t.sectionAlignment),a=(t.backGroundColor,t.descriptionColor,t.sectionDescription),r=t.buttonText,o=t.buttonUrl,l=t.showButton,s=t.buttonSize,c=t.buttonShape,u=t.buttonAlignment,p=t.showContentImg,d=t.imgURL,m=t.imgAlt,f=t.imageShape,b=t.layoutOption,g=t.headerTagOption,h=t.headerTitle,y=t.headerSubTitle,v=t.design,w=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),k=(t.profileContentFontSize,t.titleLoadGoogleFonts),_=t.titleFontFamily,S=t.titleFontWeight,E=t.subTitleLoadGoogleFonts,T=t.subTitleFontFamily,x=t.subTitleFontWeight,M=t.headerlayoutOption,C=t.descriptionLoadGoogleFonts,L=t.descriptionFontFamily,O=t.descriptionFontWeight,D=(t.descriptionFontSubset,e.className),j=(e.attributes,e.setAttributes),F=e.isSelected;let P=ps.img;d&&d.length&&(P=d);const Y=i()([D,"blockspare-contentBox"]);let N;if(1==C){const e={google:{families:[L+(O?":"+O:"")]}};N=wp.element.createElement(Io,{config:e})}return wp.element.createElement(fs,null,wp.element.createElement(as,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cs(Object(n),!0).forEach((function(t){us(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:j},this.props)),wp.element.createElement(ys,null,wp.element.createElement(ks,{value:n,onChange:e=>{j({sectionAlignment:e})}})),wp.element.createElement("div",{className:Y},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-content-wrapper blockspare-blocks",1==b?"reverse-img":"","style-3"!=v?"has-background":"",v)},p&&d&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:P,alt:m,className:f})),!d&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:"blockspare-section-head-wrap"},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",M,"blockspare-"+n)},wp.element.createElement($o,{setAttributes:j,headerTitle:h,headerTagOption:g,headerSubTitle:y,titleFontFamily:_,titleFontWeight:S,titleLoadGoogleFonts:k,subTitleLoadGoogleFonts:E,subTitleFontFamily:T,subTitleFontWeight:x}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(vs,{tagName:"p",placeholder:bs("Description","blockspare"),keepPlaceholderOnFocus:!0,value:a,className:"blockspare-description",onChange:e=>j({sectionDescription:e})}),l&&wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement(vs,{tagName:"span",placeholder:bs("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:`<span>${r}</span>`,allowedFormats:[],className:i()("blockspare-button",c,s,w),onChange:e=>j({buttonText:e})})),F&&l&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+u,onSubmit:e=>e.preventDefault()},wp.element.createElement(Es,{icon:"admin-links"}),wp.element.createElement(ws,{className:"button-url",value:o,onChange:e=>j({buttonUrl:e})}),wp.element.createElement(Ss,{icon:"editor-break",label:bs("Apply","blockspare"),type:"submit"}))))),N))}});const xs=blockspare_globals,Ms=wp.element.Component,Cs=(wp.i18n.__,wp.compose.compose),Ls=wp.blockEditor.RichText;var Os=Cs(ut,lt(ss))(class extends Ms{render(){const e=this.props,t=e.attributes,n=(t.align,t.sectionAlignment),a=(t.descriptionColor,t.sectionDescription),r=t.buttonText,o=t.buttonUrl,l=t.showButton,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.showContentImg,d=t.imgURL,m=t.imgAlt,f=t.imageShape,b=t.layoutOption,g=t.headerTitle,h=t.headerSubTitle,y=(t.dashColor,t.headerlayoutOption),v=t.headerTagOption,w=(t.backGroundColor,t.design),k=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),_=e.className;e.attributes;let S=xs.img;d&&d.length&&(S=d);const E=i()([_,"blockspare-contentBox"]);return wp.element.createElement("div",{className:E},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-content-wrapper blockspare-blocks",1==b?"reverse-img":"","style-3"!=w?"has-background":"",w)},p&&d&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:S,alt:m,className:f})),!d&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper")},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",y,"blockspare-"+n)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",y,"blockspare-"+n)},wp.element.createElement(Ei,{headerTitle:g,headerTagOption:v,headerSubTitle:h}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(Ls.Content,{tagName:"p",className:"blockspare-description",value:a}),l&&wp.element.createElement("div",{className:"blockspare-block-button"},r&&wp.element.createElement("a",{href:o,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:i()("blockspare-button",c,s,k)},wp.element.createElement(Ls.Content,{tagName:"span",value:r}))))))))}});const Ds=wp.element.Component;class js extends Ds{constructor(e){super(...arguments)}render(){return wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:i()("blockspare-block-button")},this.props.children)}}function Fs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ps(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fs(Object(n),!0).forEach((function(t){Ys(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ys(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ns=blockspare_globals,zs=wp.element,Bs=zs.Component,As=(zs.Fragment,wp.i18n.__,wp.blockEditor),Hs=(As.BlockControls,As.RichText);As.URLInput,As.AlignmentToolbar;class Is extends Bs{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.descriptionColor,o=t.sectionDescription,l=t.buttonText,s=t.buttonUrl,c=t.showButton,u=t.buttonSize,p=t.buttonShape,d=t.buttonTarget,m=t.showContentImg,f=t.imgURL,b=t.imgAlt,g=t.imageShape,h=t.layoutOption,y=t.headerTitle,v=t.headerSubTitle,w=t.dashColor,k=t.headerlayoutOption,_=t.headerTagOption,S=(t.backGroundColor,t.design),E=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),T=(e.className,e.attributes),x=Ps({},Xo(T)),M={borderColor:w},C=Ps({},Pi(T)),L=Ps({},Di(T)),O=Ps({},ji(T)),D=Ps({},Fi(T));let j=Ns.img;return f&&f.length&&(j=f),wp.element.createElement("div",{className:i()("blockspare-content-wrapper blockspare-blocks","align"+n,1==h?"reverse-img":"","style-3"!=S?"has-background":"",S),style:x},m&&f&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:j,alt:b,className:g})),!f&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper",style:Ps({},rs(T))},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper"),style:M},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",k,"blockspare-"+a)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement(Wi,this.props,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:L}),y&&wp.element.createElement(Hs.Content,{tagName:_,className:"blockspare-title",style:O,value:y}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:L})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:L}),v&&wp.element.createElement(Hs.Content,{tagName:"p",className:"blockspare-subtitle",style:D,value:v}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:L}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(Hs.Content,{tagName:"p",style:{color:r},value:o}),c&&wp.element.createElement(js,this.props,l&&wp.element.createElement("a",{href:s,target:d?"_blank":null,rel:d?"noopener noreferrer":null,className:i()("blockspare-button",p,u,E),style:C},wp.element.createElement(Hs.Content,{value:l})))))))}}var Rs=n(266);function Ws(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Us(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ws(Object(n),!0).forEach((function(t){Gs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ws(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vs=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,o=t.titlePaddingTop,i=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.backGroundColor,y=t.subTitleFontSize,v=t.subTitleFontFamily,w=t.subTitleFontWeight,k=t.subTitleFontSizeType,_=t.subTitleFontSizeMobile,S=t.subTitleFontSizeTablet,E=t.headerpaddingTop,T=t.headerpaddingRight,x=t.headerpaddingBottom,M=t.headerpaddingLeft,C=t.headermarginTop,L=t.headermarginBottom,O=t.descriptionColor,D=t.descriptionFontSize,j=t.descriptionFontFamily,F=t.descriptionFontWeight,P=(t.descriptionFontSubset,t.descriptionFontSizeType),Y=t.descriptionFontSizeMobile,N=t.descriptionFontSizeTablet,z=[];return"style-3"!==t.design&&z.push({".blockspare-contentBox .blockspare-section-wrapper":{backgroundColor:h||"#fff"}}),z.push({".blockspare-content-wrapper":Us({},Xo(e.attributes)),".blockspare-description":{color:O,fontSize:D+P,fontFamily:j,fontWeight:F},".blockspare-button":Us({},Pt(e.attributes)),".blockspare-mainheader-wrap":Us({},rs(e.attributes)),".blockspare-section-header-wrapper":{borderColor:u}}),z.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:E+"px",paddingRight:T+"px",paddingBottom:x+"px",marginTop:C+"px",marginBottom:L+"px",paddingLeft:M+"px"}}),z.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:o+"px ",paddingBottom:i+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:y+k,fontFamily:v,fontWeight:w,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:S+k},".blockspare-description":{fontSize:N+k}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+k},".blockspare-description":{fontSize:Y+k}}}),dt.a.all(z)};const qs=blockspare_globals,$s=wp.element.Component,Js=(wp.i18n.__,wp.compose.compose),Xs=wp.blockEditor.RichText;var Ks=Js(ut,lt(Vs))(class extends $s{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=(t.descriptionColor,t.sectionDescription),o=t.buttonText,l=t.buttonUrl,s=t.showButton,c=t.buttonSize,u=t.buttonShape,p=t.buttonTarget,d=t.showContentImg,m=t.imgURL,f=t.imgAlt,b=t.imageShape,g=t.layoutOption,h=t.headerTitle,y=t.headerSubTitle,v=(t.dashColor,t.headerlayoutOption),w=t.headerTagOption,k=(t.backGroundColor,t.design),_=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),S=e.className;e.attributes;let E=qs.img;m&&m.length&&(E=m);const T=i()([S,"blockspare-contentBox"]);return wp.element.createElement("div",{className:T},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-content-wrapper blockspare-blocks","align"+n,1==g?"reverse-img":"","style-3"!=k?"has-background":"",k)},d&&m&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:E,alt:f,className:b})),!m&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper")},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",v,"blockspare-"+a)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",v,"blockspare-"+a)},wp.element.createElement(Ei,{headerTitle:h,headerTagOption:w,headerSubTitle:y}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(Xs.Content,{tagName:"p",className:"blockspare-description",value:r}),s&&wp.element.createElement("div",{className:"blockspare-block-button"},o&&wp.element.createElement("a",{href:l,target:p?"_blank":null,rel:p?"noopener noreferrer":null,className:i()("blockspare-button",u,c,_)},wp.element.createElement(Xs.Content,{value:o}))))))))}});function Qs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Zs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qs(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ec(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tc=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,o=t.titlePaddingTop,i=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.backGroundColor,y=t.subTitleFontSize,v=t.subTitleFontFamily,w=t.subTitleFontWeight,k=t.subTitleFontSizeType,_=t.subTitleFontSizeMobile,S=t.subTitleFontSizeTablet,E=t.headerpaddingTop,T=t.headerpaddingRight,x=t.headerpaddingBottom,M=t.headerpaddingLeft,C=t.headermarginTop,L=t.headermarginBottom,O=t.descriptionColor,D=t.descriptionFontSize,j=t.descriptionFontFamily,F=t.descriptionFontWeight,P=(t.descriptionFontSubset,t.descriptionFontSizeType),Y=t.descriptionFontSizeMobile,N=t.descriptionFontSizeTablet,z=[];return"style-3"!==t.design&&z.push({".blockspare-contentBox .blockspare-section-wrapper":{backgroundColor:h||"#fff"}}),z.push({".blockspare-content-wrapper":Zs({},Xo(e.attributes)),".blockspare-description":{color:O,fontSize:D+P,fontFamily:j,fontWeight:F},".blockspare-button":Zs({},Ft(e.attributes)),".blockspare-mainheader-wrap":Zs({},rs(e.attributes)),".blockspare-section-header-wrapper":{borderColor:u}}),z.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:E+"px",paddingRight:T+"px",paddingBottom:x+"px",marginTop:C+"px",marginBottom:L+"px",paddingLeft:M+"px"}}),z.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:o+"px ",paddingBottom:i+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:y+k,fontFamily:v,fontWeight:w,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:S+k},".blockspare-description":{fontSize:N+k}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+k},".blockspare-description":{fontSize:Y+k}}}),dt.a.all(z)};const nc=blockspare_globals,ac=wp.element.Component,rc=(wp.i18n.__,wp.compose.compose),oc=wp.blockEditor.RichText;var ic=rc(ut,lt(tc))(class extends ac{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=(t.descriptionColor,t.sectionDescription),o=t.buttonText,l=t.buttonUrl,s=t.showButton,c=t.buttonSize,u=t.buttonShape,p=t.buttonTarget,d=t.showContentImg,m=t.imgURL,f=t.imgAlt,b=t.imageShape,g=t.layoutOption,h=t.headerTitle,y=t.headerSubTitle,v=(t.dashColor,t.headerlayoutOption),w=t.headerTagOption,k=(t.backGroundColor,t.design),_=(t.borderRadius,t.enableBackgroundColor,t.buttonHoverEffect),S=e.className;e.attributes;let E=nc.img;m&&m.length&&(E=m);const T=i()([S,"blockspare-contentBox"]);return wp.element.createElement("div",{className:T},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-content-wrapper blockspare-blocks","align"+n,1==g?"reverse-img":"","style-3"!=k?"has-background":"",k)},d&&m&&wp.element.createElement("div",{className:"content-img-wrap"},wp.element.createElement("img",{src:E,alt:f,className:b})),!m&&wp.element.createElement("div",{className:"empty-plcaeholder-div"}),wp.element.createElement("div",{className:"blockspare-section-wrapper blockspare-mainheader-wrap"},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper")},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",v,"blockspare-"+a)},wp.element.createElement("div",{className:"blockspare-title-subtitle-wrap"},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",v,"blockspare-"+a)},wp.element.createElement(Ei,{headerTitle:h,headerTagOption:w,headerSubTitle:y}))))),wp.element.createElement("div",{className:"blockspare-desc-btn-wrap"},wp.element.createElement(oc.Content,{tagName:"p",className:"blockspare-description",value:r}),s&&wp.element.createElement("div",{className:"blockspare-block-button"},o&&wp.element.createElement("a",{href:l,target:p?"_blank":null,rel:p?"noopener noreferrer":null,className:i()("blockspare-button",u,c,_)},wp.element.createElement(oc.Content,{value:o}))))))))}});function lc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function sc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const cc=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lc(Object(n),!0).forEach((function(t){sc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Jt,{},nn,{},Rs.attributes,{},an,{},jt);var uc=[{attributes:cc,save:e=>wp.element.createElement(Is,e)},{attributes:cc,save:e=>wp.element.createElement(ic,e)},{attributes:cc,save:e=>wp.element.createElement(Ks,e)}];function pc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function dc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const mc=wp.i18n.__,fc=wp.blocks.registerBlockType,bc=Tl.name,gc=Tl.category,hc=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pc(Object(n),!0).forEach((function(t){dc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Jt,{},nn,{},Tl.attributes,{},an,{},jt);fc(bc,{title:mc("BS Content Box","blockspare"),description:mc("You can create a variety of layouts using this block.","blockspare"),category:gc,icon:r.contentbox,attributes:hc,keywords:[mc("block","blockspare"),mc("container","blockspare"),mc("content","blockspare"),mc("box","blockspare")],supports:{align:["center","wide","full"]},example:{attributes:{design:"style-1"}},edit:Ts,save:Os,deprecated:uc});n(457),n(458);var yc=n(61);const vc=wp.i18n.__,wc=wp.element.Component,kc=wp.blockEditor,_c=kc.InspectorControls,Sc=(kc.MediaUpload,kc.PanelColorSettings),Ec=wp.components,Tc=(Ec.RangeControl,Ec.PanelBody);Ec.IconButton,Ec.ToggleControl,Ec.SelectControl;class xc extends wc{render(){const e=this.props.attributes,t=(e.opacityRatio,e.backGroundColor),n=(e.imgURL,e.imgID,e.imgAlt,e.paddingTop),a=e.paddingRight,r=e.paddingBottom,o=e.paddingLeft,i=e.marginTop,l=e.marginBottom,s=(e.backgroundFix,e.separatorEnable,e.design,e.width,e.height,e.color,e.showFront,e.zindexDivider,e.dividerPosition,e.topDividerMargin,e.bottomDividerMargin,e.enableGradient,e.backgroundColor1,e.backgroundColor2,e.gradientAngle,e.colorLocation1,e.colorLocation2,e.borderRadius,e.enableBoxShadow,e.xOffset,e.yOffset,e.blur,e.spread,e.shadowColor,e.enableGap,this.props.setAttributes);vc("Top","blockspare"),vc("Bottom","blockspare");return wp.element.createElement(_c,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Tc,{title:vc("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(Sc,{title:vc("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:t,onChange:e=>s({backGroundColor:e}),label:vc("Background Color","blockspare")}]})),wp.element.createElement(Tc,{title:vc("Block Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Tc,{title:vc("Padding Settings","blockspare"),initialOpen:!0},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>s({paddingTop:e}),paddingEnableRight:!0,paddingRight:a,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>s({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:r,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>s({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:o,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>s({paddingLeft:e})})),wp.element.createElement(Tc,{title:vc("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:i,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>s({marginTop:e}),marginEnableBottom:!0,marginBottom:l,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>s({marginBottom:e})})))))}}n(459);var Mc=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{className:"st0",d:"M-.5 27.7v146.8h1946V10.7s-170.6 20.4-265 57.2c0 0-374.1 116.7-794.2 24.7 0 0-414.1-100.9-673.1-92-.1 0-102.9 5.2-213.7 27.1z"}),wp.element.createElement("path",{className:"st1",d:"M1945.5 69.9s-425.5-100-888 20.5c0 0-342.6 63.3-611.4 43.8 0 0-224.9-40.3-446.6-84.4V174h1946V69.9z"}),wp.element.createElement("path",{d:"M-.5 88s425.5-100 888 20.5c0 0 342.6 63.3 611.4 43.8 0 0 224.9-20.2 446.6-64.3v87H-.5V88z"}))};Mc.defaultProps={className:"divider--doublewave",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1946 175",preserveAspectRatio:"none"};var Cc=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{className:"st1",d:"M-.5 0l958.8 69.3L1917 0v77H-.5z"}),wp.element.createElement("path",{className:"st2",d:"M-.5 24.5l958.8 46.3L1917 24.5V77H-.5z"}),wp.element.createElement("path",{className:"st3",d:"M-.5 49.1l958.8 23.1L1917 49.1V77H-.5z"}),wp.element.createElement("path",{d:"M-.5 77H1917v28H-.5z"}))};Cc.defaultProps={className:"divider--fan",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1917 105",preserveAspectRatio:"none"};var Lc=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M42.19 9.35c2.26.25 5.15-.04 7.55-.53 2.36-.49 7.09-2.35 10.05-3.57C67.37 2.03 73.16.8 79.05.28c2.36-.21 4.87-.35 10.34.25s10.62 2.56 10.62 2.56V10H0V6.97s7.2-3.26 15.84-3.05c3.92.07 9.28.67 13.4 2.24 2.12.81 5.22 1.82 7.97 2.42 2.72.63 3.95.67 4.98.77z"}))};Lc.defaultProps={className:"divider--wavy",viewBox:"0 0 100 10",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"};var Oc=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M1000 299l2-279C847-16 692 155 587 184c-102.64 28.35-149-32-232-31-80 1-142 53-229 80-65.54 20.34-101 15-126 11.61V299z"}),wp.element.createElement("path",{d:"M1000 286l2-252C845-9 700 178 597 212c-101.11 33.38-159-47-242-46-80 1-145.09 54.07-229 87-65.21 25.59-104.07 16.72-126 10.61V286z"}),wp.element.createElement("path",{d:"M1000 300l1-230.29C784 57 700.53 198.86 597 226c-103 27-174-30-257-29-80 1-130.09 37.07-214 70-61.23 24-108 15.61-126 10.61V300z"}))};Oc.defaultProps={className:"divider--waves",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 300",preserveAspectRatio:"none"};var Dc=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M0 100C20 0 50 0 100 100z"}))};Dc.defaultProps={className:"divider--sloped",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"};var jc=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{className:"st1",d:"M0 108.1h630V0S475 104.6 314 104.6 0 0 0 0z"}),wp.element.createElement("path",{className:"st2",d:"M0 106.9h630V17.8s-155 87.9-316 87.9S0 19 0 19z"}),wp.element.createElement("path",{d:"M0 120h630V45.1s-155 61.8-316 61.8S0 45.1 0 45.1z"}))};jc.defaultProps={className:"divider--curve",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 630 120",preserveAspectRatio:"none"};var Fc=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M-53.5 413H-337v-10.8s6.5 1.6 16.8.5c4.8-.6 10.1-2.5 15.8-3.7 5.7-1.2 10.5-1.5 12-1.6 5.9-.2 11 .5 14.2.9 7.6.9 13.2 3.5 17 4.7 3.9 1.2 9.1 1.9 10.5 2 13.2.8 45.3-15.5 63-15.8 16.6-.3 30 6.1 36.6 9.3 5.9 2.8 6.4 3 18 7.4s33.4-3.7 44.7-5.7c8.3-1.5 14.1-1.8 20.9-1.5 6.7.3 14 4.6 14 4.6v9.7zm-26.8-11.7c-2.9.4-5.7 1.8-6 1.9s3.5-1.1 5.8-1.1 3.6.6 4.3-.4c.6-1-1.1-.9-4.1-.4zm-20.1 3.6c-3.1.5-9.1 2-12.4 2.7-8 1.7-16.8 1-17.6 1.1-.7.1 6.9 1.2 15.1.1 4.8-.7 11.9-2.7 15.1-3.5 3.2-.7 5.6-.9 5.6-.9s-2.5-.1-5.8.5zm-69.9-7.4c-2.4-.5-2.2-.8-7.6-1.6-5.4-.8-11.2-.2-11.2 0-.1.1 4.9.1 8.8.5 3.8.4 7.9 1.4 10 2 5.2 1.4 20.2 6.8 18.5 6.1-1.7-.7-14.7-6.2-18.5-7zm27.3 6.8c-3.1-1.2-6.8-3.1-6.6-3 .2.2 2.9 2.2 6.9 3.7s5 1.1 4.8 1.1c-.1 0-2.1-.6-5.1-1.8zm84.9 0c-3.9-1.9-7.2-2.5-7.4-2.5-.2-.1 3.8 1.3 6.7 2.7 2.9 1.4 4.7 2.4 4.8 2.5.1.1-.2-.8-4.1-2.7zm-253-2.2c-3.3 1.1-3.5 1.1-5.7 1.6-4.3 1-12.2.6-12.5.7-.4.1 7.3 1 11.3.2 2.4-.4 5.2-1 7.8-2 2.6-1 4.6-1 4.5-1.2-.1-.3-2.1-.4-5.4.7zm58.2 5.4c5.2.6 6.2 0 6.2-.3s-4 .3-8.9-.8c-4.9-1-8-2.5-8.4-2.6s5.9 3.1 11.1 3.7zm-7.6.9c1.6.4 2.7.3 2.7.2s.4-.3-1.9-.6c-2.3-.4-5.5-1.8-5.7-1.7-.2.1 3.2 1.6 4.9 2.1zm22.2-.8c1.6-.5 2.5-1.2 2.4-1.3-.1-.1.2-.5-1.9.5s-5.5 1.6-5.6 1.8c-.1.2 3.5-.4 5.1-1zm-31.7-5.1c1.6.4 2.1.7 2.5.8s-.6-.5-2.2-1.2-2-.5-1.9-.2c.1.3-.1.2 1.6.6zm-28.8-2.2c1.5.1 1.6-.1 1.6-.4 0-.3-.8-.3-2-.2-1.2.1-3.5.9-3.3.9s2.1-.4 3.7-.3zm105.8-8.7c-6.5.2-20.1 5.2-16.5 4.1 3.6-1.1 12.2-3.5 17.2-3.5 5.1 0 7.4-.4 7.5-.3.1.1-1.7-.5-8.2-.3z"}),wp.element.createElement("path",{d:"M-74.2 394.6c-3.3.2-16.6 3-17 3.3-.4.3 9.3-2.2 16.6-2.9 2.6-.3 7.1.1 7.2 0 .1 0-1.9-.8-6.8-.4zM-118.1 405.1c-7.4.6-13-1.1-13.3-1.2-.4-.1 7.3.7 12.3.5 5-.2 9.3-1.1 9.5-1.2.2-.1-1.1 1.3-8.5 1.9zM-128.9 400c1.5-.1 1.6.1 1.6.4 0 .3-.8.4-2 .3s-3.3-1-3.2-1.1 1.9.5 3.6.4zM-142.1 399.7c-2.1-1-6.2-2.7-6.3-2.6-.1 0 4.2 2.2 6.1 3.1 1.9 1 6.3 2.3 6.3 2.2 0-.1-4-1.7-6.1-2.7zM-189.3 385.9c-3.3.2-16.6 3-17 3.3s9.3-2.2 16.6-2.9c2.6-.3 7.1.1 7.2 0s-1.9-.8-6.8-.4zM-292.3 394.2c1.6.1 4.9-.3 6.7-.4 4.3-.3 8.2 1.9 8.6 1.9.4.1-2.8-2.2-7-2.6-2.4-.2-6.5.5-8.2.7-1.7.2-2.9-.1-2.9-.1s1.2.4 2.8.5zM-258.5 402c1.6.4 3.4.1 3.4 0 0-.2.2-.3-2.1-.5-2.3-.3-4.1-1.2-4.3-1.1-.2.1 1.4 1.1 3 1.6zM-314.8 398.7c2.4-.6 5.1-1.5 5.1-1.4s-2.6 1.5-5 2-6.7.6-6.7.5c.1-.1 4.3-.5 6.6-1.1z"}))};Fc.defaultProps={className:"divider--shapeocean",xmlns:"http://www.w3.org/2000/svg",viewBox:"-337 385.2 283.5 27.8",preserveAspectRatio:"none"};var Pc=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{className:"st1",d:"M261.2 64.9C367.6 54.7 499.6 39.7 630 18.5V0C497.8 31.4 363.7 52 261.2 64.9z"}),wp.element.createElement("path",{className:"st2",d:"M261.2 64.9c-41 3.9-78.2 7.1-110 9.6 13.2-.4 27-.9 41.5-1.6C315 67.7 478.4 59.4 630 34.8V18.5C499.1 39.8 367.3 54.8 261.2 64.9z"}),wp.element.createElement("path",{d:"M192.7 72.9c-14.5.7-28.3 1.2-41.5 1.6C59.9 77.7 0 77.4 0 77.4V80h630V33.8C478.4 58.4 315 67.7 192.7 72.9z"}))};Pc.defaultProps={className:"divider--grow",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 630 80",preserveAspectRatio:"none"};var Yc=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M630 36.9a34.6 34.6 0 0 0-16.5-4.2c-17.2 0-31.8 12.7-36.7 30.3a21.2 21.2 0 0 0-9.3-2.2 21.8 21.8 0 0 0-13.9 5.1 38.7 38.7 0 0 0-40.4-4.8c-5.2-7.7-13.4-12.6-22.7-12.6a25.7 25.7 0 0 0-8.7 1.5C472.9 27.8 453 12.4 430 12.4s-42.7 15.3-51.7 37.2c-7.2-10.9-18.8-18.1-31.8-18.1a37 37 0 0 0-24 9.2c-6-10.3-16.3-17-28-17-13.8 0-25.6 9.3-30.7 22.7a26.5 26.5 0 0 0-19.8-9.2 22 22 0 0 0-5.8.7c-4-11.6-14-19.9-25.7-19.9a24.7 24.7 0 0 0-9.4 1.9C189.2 7.4 171.6 0 152.5 0 124.6 0 100 15.8 85.3 39.9A27.6 27.6 0 0 0 63 28.2a23.9 23.9 0 0 0-7.1 1C47.2 13 31.5 2.3 13.5 2.3A43.3 43.3 0 0 0 0 4.4V80h630z"}))};Yc.defaultProps={className:"divider--clouds",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 630 80",preserveAspectRatio:"none"};var Nc=function(e){return wp.element.createElement("svg",e,wp.element.createElement("path",{d:"M0 100L100 0v100z"}))};Nc.defaultProps={className:"divider--angled",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"};const zc={wavy:Lc,waves:Oc,"double-wave":Mc,fan:Cc,sloped:Dc,curve:jc,shapeocean:Fc,grow:Pc,clouds:Yc,angled:Nc},Bc=e=>{const t=zc[e.design],n=i()([e.className,"blockspare-separator-wrapper"]);return wp.element.createElement("div",{className:n},wp.element.createElement(t,{className:e.design,preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};Bc.defaultProps={className:"",design:"double-wave",shadow:!1},Bc.Save=e=>wp.element.createElement(Bc,e);var Ac=Bc;const Hc=wp.i18n.__,Ic=wp.element,Rc=Ic.Component,Wc=Ic.Fragment,Uc=wp.blockEditor,Gc=Uc.BlockControls,Vc=(Uc.BlockAlignmentToolbar,wp.components.Toolbar);var qc=class extends Rc{render(){const e=this.props,t=e.attributes,n=e.setAttributes,a=(t.horizontalFlip,t.verticalFlip),o=[{icon:r.flipY,title:Hc("Flip horiztonally","blockspare"),isActive:!!a,onClick:()=>n({verticalFlip:!a})}];return wp.element.createElement(Wc,null,wp.element.createElement(Gc,null,wp.element.createElement(Vc,{controls:o})))}};var $c=e=>{let t="";if(1==e.enableGradient){const n=e.gradientAngle+"deg",a=e.colorLocation1+"%",r=e.colorLocation2+"%";t={backgroundImage:`linear-gradient(${n},${e.backgroundColor1?e.backgroundColor1:"#3B1A5B"} ${a},${e.backgroundColor2?e.backgroundColor2:"#8B249C"} ${r})`}}else t={backgroundColor:e.backGroundColor?e.backGroundColor:"#fff"};return t};function Jc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Xc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jc(Object(n),!0).forEach((function(t){Kc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qc=e=>{const t=e.attributes,n=(t.align,t.opacityRatio,t.imgURL),a=(t.backgroundFix,t.verticalFlip,t.horizontalFlip,t.separatorEnable),r=(t.design,t.height),o=t.color,i=(t.width,t.showFront),l=t.zindexDivider,s=t.dividerPosition,c=t.topDividerMargin,u=t.bottomDividerMargin,p=t.borderRadius;t.enableGap;let d="";n&&(d="url("+n+")");const m=[];let f="";return a&&(f="has-separator-top"===s?{top:c+"px",zIndex:i?l:""}:"has-separator-bottom"===s?{bottom:u+"px",zIndex:i?l:""}:""),m.push({".blockspare-block-container-wrapper":Xc({},Jo(e.attributes),{},$c(e.attributes),{},Xo(e.attributes),{borderRadius:p?p+"px":null}),".blockspare-image-wrap":{backgroundImage:d},".blockspare-top-separator":{sepStyles:f},".blockspare-svg-wrapper":{color:o||"#3c1a5b",height:r}}),dt.a.all(m)};function Zc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function eu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const tu=wp.element,nu=tu.Component,au=tu.Fragment,ru=wp.compose.compose,ou=wp.blockEditor.InnerBlocks;var iu=ru(ut,lt(Qc))(class extends nu{render(){const e=this.props,t=e.attributes,n=t.align,a=t.opacityRatio,r=t.imgURL,o=t.backgroundFix,l=t.verticalFlip,s=t.horizontalFlip,c=t.separatorEnable,u=t.design,p=(t.height,t.color,t.width),d=t.showFront,m=(t.zindexDivider,t.dividerPosition),f=(t.topDividerMargin,t.bottomDividerMargin,t.borderRadius,t.enableGap),b=e.className,g=(e.attributes,e.setAttributes),h=e.isSelected,y=i()([b]);let v=i()("blockspare-blocks blockspare-svg-wrapper",function(e){return"has-width-"+e.toString().replace(".","-")}(p),b,{"is-vertically-flipped":l,"is-horizontally-flipped":s});return wp.element.createElement(au,null,wp.element.createElement(xc,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zc(Object(n),!0).forEach((function(t){eu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:g},this.props)),h&&c&&wp.element.createElement(qc,this.props),wp.element.createElement("div",{className:y},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-block-container-wrapper","align"+n,f?"has-gap-enable":"",r&&r.length&&o?"blockspare-background-fix":"",c?m:"")},wp.element.createElement("div",{className:i()("blockspare-container-background","blockspare-image-wrap",(w=a,0===w?null:"has-background-opacity-"+10*Math.round(w/10)),{"has-background-opacity":0!==a})}),c&&wp.element.createElement("div",{className:i()("blockspare-top-separator",d?"blockspare-svg-show-front":"")},wp.element.createElement("div",{className:v},wp.element.createElement(Ac,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks"},wp.element.createElement(ou,{templateLock:!1,renderAppender:()=>this.props.hasInnerBlocks?wp.element.createElement(ou.DefaultBlockAppender,null):wp.element.createElement(ou.ButtonBlockAppender,null)}))))));var w}});const lu=wp.element.Component,su=wp.compose.compose,cu=wp.blockEditor.InnerBlocks;var uu=su(ut,lt(Qc))(class extends lu{render(){const e=this.props,t=e.attributes,n=t.align,a=t.opacityRatio,r=t.imgURL,o=t.backgroundFix,l=t.verticalFlip,s=t.horizontalFlip,c=t.separatorEnable,u=t.design,p=(t.height,t.color,t.width),d=t.showFront,m=(t.zindexDivider,t.dividerPosition),f=(t.topDividerMargin,t.bottomDividerMargin,t.borderRadius,t.enableGap),b=e.className,g=(e.attributes,i()([b]));let h=i()("blockspare-blocks blockspare-svg-wrapper",function(e){return"has-width-"+e.toString().replace(".","-")}(p),b,{"is-vertically-flipped":l,"is-horizontally-flipped":s});return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-block-container-wrapper",f?"has-gap-enable":"","align"+n,r&&r.length&&o?"blockspare-background-fix":"",c?m:"")},wp.element.createElement("div",{className:i()("blockspare-container-background","blockspare-image-wrap",(y=a,0===y?null:"has-background-opacity-"+10*Math.round(y/10)),{"has-background-opacity":0!==a})}),c&&wp.element.createElement("div",{className:i()("blockspare-top-separator",f?"has-gap-enable":"",d?"blockspare-svg-show-front":"")},wp.element.createElement("div",{className:h},wp.element.createElement(Ac,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},wp.element.createElement(cu.Content,null)))));var y}});var pu=n(94);var du={enableGradient:{type:"boolean",default:!1},backgroundColor1:{type:"string",default:"#3B1A5B"},backgroundColor2:{type:"string",default:"#8B249C"},gradientAngle:{type:"number",default:-90},colorLocation1:{type:"number",default:30},colorLocation2:{type:"number",default:70}};var mu={align:{type:"string",default:"full"},design:{type:"string",default:"double-wave"},layer1Shadow:{type:"boolean",default:!1},width:{type:"number",default:1},height:{type:"number",default:150},color:{type:"string",default:"#3c1a5b"}};function fu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function bu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fu(Object(n),!0).forEach((function(t){gu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hu=e=>{const t=e.attributes,n=(t.align,t.opacityRatio,t.imgURL),a=(t.backgroundFix,t.verticalFlip,t.horizontalFlip,t.separatorEnable),r=(t.design,t.height),o=t.color,i=(t.width,t.showFront),l=t.zindexDivider,s=t.dividerPosition,c=t.topDividerMargin,u=t.bottomDividerMargin,p=t.borderRadius;t.enableGap;let d="";n&&(d="url("+n+")");const m=[];let f="";return a&&(f="has-separator-top"===s?{top:c+"px",zIndex:i?l:""}:"has-separator-bottom"===s?{bottom:u+"px",zIndex:i?l:""}:""),m.push({".blockspare-block-container-wrapper":bu({},Jo(e.attributes),{},$c(e.attributes),{},Xo(e.attributes),{borderRadius:p?p+"px":null}),".blockspare-image-wrap":{backgroundImage:d},".blockspare-top-separator":{sepStyles:f},".blockspare-svg-wrapper":{color:o||"#3c1a5b",height:r}}),dt.a.all(m)};const yu=wp.element.Component,vu=wp.compose.compose,wu=wp.blockEditor.InnerBlocks;var ku=vu(ut,lt(hu))(class extends yu{render(){const e=this.props,t=e.attributes,n=t.align,a=t.opacityRatio,r=t.imgURL,o=t.backgroundFix,l=t.verticalFlip,s=t.horizontalFlip,c=t.separatorEnable,u=t.design,p=(t.height,t.color,t.width),d=t.showFront,m=(t.zindexDivider,t.dividerPosition),f=(t.topDividerMargin,t.bottomDividerMargin,t.borderRadius,t.enableGap),b=e.className,g=(e.attributes,i()([b]));let h=i()("blockspare-blocks blockspare-svg-wrapper",function(e){return"has-width-"+e.toString().replace(".","-")}(p),b,{"is-vertically-flipped":l,"is-horizontally-flipped":s});return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-block-container-wrapper",f?"has-gap-enable":"","align"+n,r&&r.length&&o?"blockspare-background-fix":"",c?m:"")},wp.element.createElement("div",{className:i()("blockspare-container-background","blockspare-image-wrap",(y=a,0===y?null:"has-background-opacity-"+10*Math.round(y/10)),{"has-background-opacity":0!==a})}),c&&wp.element.createElement("div",{className:i()("blockspare-top-separator",f?"has-gap-enable":"",d?"blockspare-svg-show-front":"")},wp.element.createElement("div",{className:h},wp.element.createElement(Ac,{design:u,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},wp.element.createElement(wu.Content,null)))));var y}});function _u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Su(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_u(Object(n),!0).forEach((function(t){Eu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Eu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Tu=wp.blockEditor.InnerBlocks;var xu=[{attributes:Su({},pu.attributes,{},du,{},Jt,{},mu,{},an),save:function(e){const t=e.attributes,n=t.className,a=t.align,r=t.opacityRatio,o=t.imgURL,l=t.backgroundFix,s=t.verticalFlip,c=t.horizontalFlip,u=t.separatorEnable,p=t.design,d=t.height,m=t.color,f=t.width,b=t.showFront,g=t.zindexDivider,h=t.dividerPosition,y=t.topDividerMargin,v=t.bottomDividerMargin,w=t.borderRadius,k=t.enableGap,_=Su({},$c(e.attributes),{},Jo(e.attributes),{minHeight:"100px"},Xo(e.attributes),{borderRadius:w||null});let S="";u&&(S="has-separator-top"===h?{top:y+"px",zIndex:b?g:""}:"has-separator-bottom"===h?{bottom:v+"px",zIndex:b?g:""}:"");let E="";o&&(E="url("+o+")");let T=i()("blockspare-blocks blockspare-svg-wrapper",function(e){return"has-width-"+e.toString().replace(".","-")}(f),n,{"is-vertically-flipped":s,"is-horizontally-flipped":c});return wp.element.createElement("div",{className:i()("blockspare-block-container-wrapper",k?"has-gap-enable":"","align"+a,o&&o.length&&l?"blockspare-background-fix":"",u?h:""),style:_},wp.element.createElement("div",{className:i()("blockspare-container-background","blockspare-image-wrap",(x=r,0===x?null:"has-background-opacity-"+10*Math.round(x/10)),{"has-background-opacity":0!==r}),style:{backgroundImage:E}}),u&&wp.element.createElement("div",{className:i()("blockspare-top-separator",k?"has-gap-enable":"",b?"blockspare-svg-show-front":""),style:S},wp.element.createElement("div",{className:T,style:{color:m||"#3c1a5b",height:d}},wp.element.createElement(Ac,{design:p,shadow:!1,className:"blockspare-svg-svg-inner"}))),wp.element.createElement("div",{className:"blockspare-container"},wp.element.createElement("div",{className:"blockspare-inner-blocks blockspare-inner-wrapper-blocks"},wp.element.createElement(Tu.Content,null))));var x}},{attributes:Su({},du,{},Jt,{},mu,{},an,{},pu.attributes),save:e=>wp.element.createElement(ku,e)}];function Mu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Lu=yc.name,Ou=yc.category,Du=wp.i18n.__,ju=wp.blocks,Fu=ju.registerBlockType,Pu=ju.createBlock,Yu=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mu(Object(n),!0).forEach((function(t){Cu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},du,{},Jt,{},mu,{},an,{},yc.attributes);Fu(Lu,{title:Du("BS Container","blockspare"),description:Du("BS add container","blockspare"),category:Ou,icon:r.container,attributes:Yu,keywords:[Du("block","blockspare"),Du("container","blockspare"),Du("group","blockspare")],supports:{align:["center","wide","full"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:iu,save:uu,transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert(e){if(1===e.length&&"blockspare/blockspare-container"===e[0].name)return;const t=["wide","full"],n=e.reduce((e,n)=>{const a=n.attributes.align;return t.indexOf(a)>t.indexOf(e)?a:e},void 0),a=e.map(e=>Pu(e.name,e.attributes,e.innerBlocks));return Pu("blockspare/blockspare-container",{align:n},a)}}]},deprecated:xu});n(460),n(461);var Nu=n(26),zu=(n(462),["fas fa-ad","fas fa-address-book","fas fa-address-card","fas fa-adjust","fas fa-air-freshener","fas fa-align-center","fas fa-align-justify","fas fa-align-left","fas fa-align-right","fas fa-allergies","fas fa-ambulance","fas fa-american-sign-language-interpreting","fas fa-anchor","fas fa-angle-double-down","fas fa-angle-double-left","fas fa-angle-double-right","fas fa-angle-double-up","fas fa-angle-down","fas fa-angle-left","fas fa-angle-right","fas fa-angle-up","fas fa-angry","fas fa-ankh","fas fa-apple-alt","fas fa-archive","fas fa-archway","fas fa-arrow-alt-circle-down","fas fa-arrow-alt-circle-left","fas fa-arrow-alt-circle-right","fas fa-arrow-alt-circle-up","fas fa-arrow-circle-down","fas fa-arrow-circle-left","fas fa-arrow-circle-right","fas fa-arrow-circle-up","fas fa-arrow-down","fas fa-arrow-left","fas fa-arrow-right","fas fa-arrow-up","fas fa-arrows-alt","fas fa-arrows-alt-h","fas fa-arrows-alt-v","fas fa-assistive-listening-systems","fas fa-asterisk","fas fa-at","fas fa-atlas","fas fa-atom","fas fa-audio-description","fas fa-award","fas fa-baby","fas fa-baby-carriage","fas fa-backspace","fas fa-backward","fas fa-balance-scale","fas fa-ban","fas fa-band-aid","fas fa-barcode","fas fa-bars","fas fa-baseball-ball","fas fa-basketball-ball","fas fa-bath","fas fa-battery-empty","fas fa-battery-full","fas fa-battery-half","fas fa-battery-quarter","fas fa-battery-three-quarters","fas fa-bed","fas fa-beer","fas fa-bell","fas fa-bell-slash","fas fa-bezier-curve","fas fa-bible","fas fa-bicycle","fas fa-binoculars","fas fa-biohazard","fas fa-birthday-cake","fas fa-blender","fas fa-blender-phone","fas fa-blind","fas fa-blog","fas fa-bold","fas fa-bolt","fas fa-bomb","fas fa-bone","fas fa-bong","fas fa-book","fas fa-book-dead","fas fa-book-open","fas fa-book-reader","fas fa-bookmark","fas fa-bowling-ball","fas fa-box","fas fa-box-open","fas fa-boxes","fas fa-braille","fas fa-brain","fas fa-briefcase","fas fa-briefcase-medical","fas fa-broadcast-tower","fas fa-broom","fas fa-brush","fas fa-bug","fas fa-building","fas fa-bullhorn","fas fa-bullseye","fas fa-burn","fas fa-bus","fas fa-bus-alt","fas fa-business-time","fas fa-calculator","fas fa-calendar","fas fa-calendar-alt","fas fa-calendar-check","fas fa-calendar-day","fas fa-calendar-minus","fas fa-calendar-plus","fas fa-calendar-times","fas fa-calendar-week","fas fa-camera","fas fa-camera-retro","fas fa-campground","fas fa-candy-cane","fas fa-cannabis","fas fa-capsules","fas fa-car","fas fa-car-alt","fas fa-car-battery","fas fa-car-crash","fas fa-car-side","fas fa-caret-down","fas fa-caret-left","fas fa-caret-right","fas fa-caret-square-down","fas fa-caret-square-left","fas fa-caret-square-right","fas fa-caret-square-up","fas fa-caret-up","fas fa-carrot","fas fa-cart-arrow-down","fas fa-cart-plus","fas fa-cash-register","fas fa-cat","fas fa-certificate","fas fa-chair","fas fa-chalkboard","fas fa-chalkboard-teacher","fas fa-charging-station","fas fa-chart-area","fas fa-chart-bar","fas fa-chart-line","fas fa-chart-pie","fas fa-check","fas fa-check-circle","fas fa-check-double","fas fa-check-square","fas fa-chess","fas fa-chess-bishop","fas fa-chess-board","fas fa-chess-king","fas fa-chess-knight","fas fa-chess-pawn","fas fa-chess-queen","fas fa-chess-rook","fas fa-chevron-circle-down","fas fa-chevron-circle-left","fas fa-chevron-circle-right","fas fa-chevron-circle-up","fas fa-chevron-down","fas fa-chevron-left","fas fa-chevron-right","fas fa-chevron-up","fas fa-child","fas fa-church","fas fa-circle","fas fa-circle-notch","fas fa-city","fas fa-clipboard","fas fa-clipboard-check","fas fa-clipboard-list","fas fa-clock","fas fa-clone","fas fa-closed-captioning","fas fa-cloud","fas fa-cloud-download-alt","fas fa-cloud-meatball","fas fa-cloud-moon","fas fa-cloud-moon-rain","fas fa-cloud-rain","fas fa-cloud-showers-heavy","fas fa-cloud-sun","fas fa-cloud-sun-rain","fas fa-cloud-upload-alt","fas fa-cocktail","fas fa-code","fas fa-code-branch","fas fa-coffee","fas fa-cog","fas fa-cogs","fas fa-coins","fas fa-columns","fas fa-comment","fas fa-comment-alt","fas fa-comment-dollar","fas fa-comment-dots","fas fa-comment-slash","fas fa-comments","fas fa-comments-dollar","fas fa-compact-disc","fas fa-compass","fas fa-compress","fas fa-compress-arrows-alt","fas fa-concierge-bell","fas fa-cookie","fas fa-cookie-bite","fas fa-copy","fas fa-copyright","fas fa-couch","fas fa-credit-card","fas fa-crop","fas fa-crop-alt","fas fa-cross","fas fa-crosshairs","fas fa-crow","fas fa-crown","fas fa-cube","fas fa-cubes","fas fa-cut","fas fa-database","fas fa-deaf","fas fa-democrat","fas fa-desktop","fas fa-dharmachakra","fas fa-diagnoses","fas fa-dice","fas fa-dice-d20","fas fa-dice-d6","fas fa-dice-five","fas fa-dice-four","fas fa-dice-one","fas fa-dice-six","fas fa-dice-three","fas fa-dice-two","fas fa-digital-tachograph","fas fa-directions","fas fa-divide","fas fa-dizzy","fas fa-dna","fas fa-dog","fas fa-dollar-sign","fas fa-dolly","fas fa-dolly-flatbed","fas fa-donate","fas fa-door-closed","fas fa-door-open","fas fa-dot-circle","fas fa-dove","fas fa-download","fas fa-drafting-compass","fas fa-dragon","fas fa-draw-polygon","fas fa-drum","fas fa-drum-steelpan","fas fa-drumstick-bite","fas fa-dumbbell","fas fa-dumpster","fas fa-dumpster-fire","fas fa-dungeon","fas fa-edit","fas fa-eject","fas fa-ellipsis-h","fas fa-ellipsis-v","fas fa-envelope","fas fa-envelope-open","fas fa-envelope-open-text","fas fa-envelope-square","fas fa-equals","fas fa-eraser","fas fa-ethernet","fas fa-euro-sign","fas fa-exchange-alt","fas fa-exclamation","fas fa-exclamation-circle","fas fa-exclamation-triangle","fas fa-expand","fas fa-expand-arrows-alt","fas fa-external-link-alt","fas fa-external-link-square-alt","fas fa-eye","fas fa-eye-dropper","fas fa-eye-slash","fas fa-fast-backward","fas fa-fast-forward","fas fa-fax","fas fa-feather","fas fa-feather-alt","fas fa-female","fas fa-fighter-jet","fas fa-file","fas fa-file-alt","fas fa-file-archive","fas fa-file-audio","fas fa-file-code","fas fa-file-contract","fas fa-file-csv","fas fa-file-download","fas fa-file-excel","fas fa-file-export","fas fa-file-image","fas fa-file-import","fas fa-file-invoice","fas fa-file-invoice-dollar","fas fa-file-medical","fas fa-file-medical-alt","fas fa-file-pdf","fas fa-file-powerpoint","fas fa-file-prescription","fas fa-file-signature","fas fa-file-upload","fas fa-file-video","fas fa-file-word","fas fa-fill","fas fa-fill-drip","fas fa-film","fas fa-filter","fas fa-fingerprint","fas fa-fire","fas fa-fire-alt","fas fa-fire-extinguisher","fas fa-first-aid","fas fa-fish","fas fa-fist-raised","fas fa-flag","fas fa-flag-checkered","fas fa-flag-usa","fas fa-flask","fas fa-flushed","fas fa-folder","fas fa-folder-minus","fas fa-folder-open","fas fa-folder-plus","fas fa-font","fas fa-football-ball","fas fa-forward","fas fa-frog","fas fa-frown","fas fa-frown-open","fas fa-funnel-dollar","fas fa-futbol","fas fa-gamepad","fas fa-gas-pump","fas fa-gavel","fas fa-gem","fas fa-genderless","fas fa-ghost","fas fa-gift","fas fa-gifts","fas fa-glass-cheers","fas fa-glass-martini","fas fa-glass-martini-alt","fas fa-glass-whiskey","fas fa-glasses","fas fa-globe","fas fa-globe-africa","fas fa-globe-americas","fas fa-globe-asia","fas fa-globe-europe","fas fa-golf-ball","fas fa-gopuram","fas fa-graduation-cap","fas fa-greater-than","fas fa-greater-than-equal","fas fa-grimace","fas fa-grin","fas fa-grin-alt","fas fa-grin-beam","fas fa-grin-beam-sweat","fas fa-grin-hearts","fas fa-grin-squint","fas fa-grin-squint-tears","fas fa-grin-stars","fas fa-grin-tears","fas fa-grin-tongue","fas fa-grin-tongue-squint","fas fa-grin-tongue-wink","fas fa-grin-wink","fas fa-grip-horizontal","fas fa-grip-lines","fas fa-grip-lines-vertical","fas fa-grip-vertical","fas fa-guitar","fas fa-h-square","fas fa-hammer","fas fa-hamsa","fas fa-hand-holding","fas fa-hand-holding-heart","fas fa-hand-holding-usd","fas fa-hand-lizard","fas fa-hand-paper","fas fa-hand-peace","fas fa-hand-point-down","fas fa-hand-point-left","fas fa-hand-point-right","fas fa-hand-point-up","fas fa-hand-pointer","fas fa-hand-rock","fas fa-hand-scissors","fas fa-hand-spock","fas fa-hands","fas fa-hands-helping","fas fa-handshake","fas fa-hanukiah","fas fa-hashtag","fas fa-hat-wizard","fas fa-haykal","fas fa-hdd","fas fa-heading","fas fa-headphones","fas fa-headphones-alt","fas fa-headset","fas fa-heart","fas fa-heart-broken","fas fa-heartbeat","fas fa-helicopter","fas fa-highlighter","fas fa-hiking","fas fa-hippo","fas fa-history","fas fa-hockey-puck","fas fa-holly-berry","fas fa-home","fas fa-horse","fas fa-horse-head","fas fa-hospital","fas fa-hospital-alt","fas fa-hospital-symbol","fas fa-hot-tub","fas fa-hotel","fas fa-hourglass","fas fa-hourglass-end","fas fa-hourglass-half","fas fa-hourglass-start","fas fa-house-damage","fas fa-hryvnia","fas fa-i-cursor","fas fa-icicles","fas fa-id-badge","fas fa-id-card","fas fa-id-card-alt","fas fa-igloo","fas fa-image","fas fa-images","fas fa-inbox","fas fa-indent","fas fa-industry","fas fa-infinity","fas fa-info","fas fa-info-circle","fas fa-italic","fas fa-jedi","fas fa-joint","fas fa-journal-whills","fas fa-kaaba","fas fa-key","fas fa-keyboard","fas fa-khanda","fas fa-kiss","fas fa-kiss-beam","fas fa-kiss-wink-heart","fas fa-kiwi-bird","fas fa-landmark","fas fa-language","fas fa-laptop","fas fa-laptop-code","fas fa-laugh","fas fa-laugh-beam","fas fa-laugh-squint","fas fa-laugh-wink","fas fa-layer-group","fas fa-leaf","fas fa-lemon","fas fa-less-than","fas fa-less-than-equal","fas fa-level-down-alt","fas fa-level-up-alt","fas fa-life-ring","fas fa-lightbulb","fas fa-link","fas fa-lira-sign","fas fa-list","fas fa-list-alt","fas fa-list-ol","fas fa-list-ul","fas fa-location-arrow","fas fa-lock","fas fa-lock-open","fas fa-long-arrow-alt-down","fas fa-long-arrow-alt-left","fas fa-long-arrow-alt-right","fas fa-long-arrow-alt-up","fas fa-low-vision","fas fa-luggage-cart","fas fa-magic","fas fa-magnet","fas fa-mail-bulk","fas fa-male","fas fa-map","fas fa-map-marked","fas fa-map-marked-alt","fas fa-map-marker","fas fa-map-marker-alt","fas fa-map-pin","fas fa-map-signs","fas fa-marker","fas fa-mars","fas fa-mars-double","fas fa-mars-stroke","fas fa-mars-stroke-h","fas fa-mars-stroke-v","fas fa-mask","fas fa-medal","fas fa-medkit","fas fa-meh","fas fa-meh-blank","fas fa-meh-rolling-eyes","fas fa-memory","fas fa-menorah","fas fa-mercury","fas fa-meteor","fas fa-microchip","fas fa-microphone","fas fa-microphone-alt","fas fa-microphone-alt-slash","fas fa-microphone-slash","fas fa-microscope","fas fa-minus","fas fa-minus-circle","fas fa-minus-square","fas fa-mitten","fas fa-mobile","fas fa-mobile-alt","fas fa-money-bill","fas fa-money-bill-alt","fas fa-money-bill-wave","fas fa-money-bill-wave-alt","fas fa-money-check","fas fa-money-check-alt","fas fa-monument","fas fa-moon","fas fa-mortar-pestle","fas fa-mosque","fas fa-motorcycle","fas fa-mountain","fas fa-mouse-pointer","fas fa-mug-hot","fas fa-music","fas fa-network-wired","fas fa-neuter","fas fa-newspaper","fas fa-not-equal","fas fa-notes-medical","fas fa-object-group","fas fa-object-ungroup","fas fa-oil-can","fas fa-om","fas fa-otter","fas fa-outdent","fas fa-paint-brush","fas fa-paint-roller","fas fa-palette","fas fa-pallet","fas fa-paper-plane","fas fa-paperclip","fas fa-parachute-box","fas fa-paragraph","fas fa-parking","fas fa-passport","fas fa-pastafarianism","fas fa-paste","fas fa-pause","fas fa-pause-circle","fas fa-paw","fas fa-peace","fas fa-pen","fas fa-pen-alt","fas fa-pen-fancy","fas fa-pen-nib","fas fa-pen-square","fas fa-pencil-alt","fas fa-pencil-ruler","fas fa-people-carry","fas fa-percent","fas fa-percentage","fas fa-person-booth","fas fa-phone","fas fa-phone-slash","fas fa-phone-square","fas fa-phone-volume","fas fa-piggy-bank","fas fa-pills","fas fa-place-of-worship","fas fa-plane","fas fa-plane-arrival","fas fa-plane-departure","fas fa-play","fas fa-play-circle","fas fa-plug","fas fa-plus","fas fa-plus-circle","fas fa-plus-square","fas fa-podcast","fas fa-poll","fas fa-poll-h","fas fa-poo","fas fa-poo-storm","fas fa-poop","fas fa-portrait","fas fa-pound-sign","fas fa-power-off","fas fa-pray","fas fa-praying-hands","fas fa-prescription","fas fa-prescription-bottle","fas fa-prescription-bottle-alt","fas fa-print","fas fa-procedures","fas fa-project-diagram","fas fa-puzzle-piece","fas fa-qrcode","fas fa-question","fas fa-question-circle","fas fa-quidditch","fas fa-quote-left","fas fa-quote-right","fas fa-quran","fas fa-radiation","fas fa-radiation-alt","fas fa-rainbow","fas fa-random","fas fa-receipt","fas fa-recycle","fas fa-redo","fas fa-redo-alt","fas fa-registered","fas fa-reply","fas fa-reply-all","fas fa-republican","fas fa-restroom","fas fa-retweet","fas fa-ribbon","fas fa-ring","fas fa-road","fas fa-robot","fas fa-rocket","fas fa-route","fas fa-rss","fas fa-rss-square","fas fa-ruble-sign","fas fa-ruler","fas fa-ruler-combined","fas fa-ruler-horizontal","fas fa-ruler-vertical","fas fa-running","fas fa-rupee-sign","fas fa-sad-cry","fas fa-sad-tear","fas fa-satellite","fas fa-satellite-dish","fas fa-save","fas fa-school","fas fa-screwdriver","fas fa-scroll","fas fa-sd-card","fas fa-search","fas fa-search-dollar","fas fa-search-location","fas fa-search-minus","fas fa-search-plus","fas fa-seedling","fas fa-server","fas fa-shapes","fas fa-share","fas fa-share-alt","fas fa-share-alt-square","fas fa-share-square","fas fa-shekel-sign","fas fa-shield-alt","fas fa-ship","fas fa-shipping-fast","fas fa-shoe-prints","fas fa-shopping-bag","fas fa-shopping-basket","fas fa-shopping-cart","fas fa-shower","fas fa-shuttle-van","fas fa-sign","fas fa-sign-in-alt","fas fa-sign-language","fas fa-sign-out-alt","fas fa-signal","fas fa-signature","fas fa-sim-card","fas fa-sitemap","fas fa-skating","fas fa-skiing","fas fa-skiing-nordic","fas fa-skull","fas fa-skull-crossbones","fas fa-slash","fas fa-sleigh","fas fa-sliders-h","fas fa-smile","fas fa-smile-beam","fas fa-smile-wink","fas fa-smog","fas fa-smoking","fas fa-smoking-ban","fas fa-sms","fas fa-snowboarding","fas fa-snowflake","fas fa-snowman","fas fa-snowplow","fas fa-socks","fas fa-solar-panel","fas fa-sort","fas fa-sort-alpha-down","fas fa-sort-alpha-up","fas fa-sort-amount-down","fas fa-sort-amount-up","fas fa-sort-down","fas fa-sort-numeric-down","fas fa-sort-numeric-up","fas fa-sort-up","fas fa-spa","fas fa-space-shuttle","fas fa-spider","fas fa-spinner","fas fa-splotch","fas fa-spray-can","fas fa-square","fas fa-square-full","fas fa-square-root-alt","fas fa-stamp","fas fa-star","fas fa-star-and-crescent","fas fa-star-half","fas fa-star-half-alt","fas fa-star-of-david","fas fa-star-of-life","fas fa-step-backward","fas fa-step-forward","fas fa-stethoscope","fas fa-sticky-note","fas fa-stop","fas fa-stop-circle","fas fa-stopwatch","fas fa-store","fas fa-store-alt","fas fa-stream","fas fa-street-view","fas fa-strikethrough","fas fa-stroopwafel","fas fa-subscript","fas fa-subway","fas fa-suitcase","fas fa-suitcase-rolling","fas fa-sun","fas fa-superscript","fas fa-surprise","fas fa-swatchbook","fas fa-swimmer","fas fa-swimming-pool","fas fa-synagogue","fas fa-sync","fas fa-sync-alt","fas fa-syringe","fas fa-table","fas fa-table-tennis","fas fa-tablet","fas fa-tablet-alt","fas fa-tablets","fas fa-tachometer-alt","fas fa-tag","fas fa-tags","fas fa-tape","fas fa-tasks","fas fa-taxi","fas fa-teeth","fas fa-teeth-open","fas fa-temperature-high","fas fa-temperature-low","fas fa-tenge","fas fa-terminal","fas fa-text-height","fas fa-text-width","fas fa-th","fas fa-th-large","fas fa-th-list","fas fa-theater-masks","fas fa-thermometer","fas fa-thermometer-empty","fas fa-thermometer-full","fas fa-thermometer-half","fas fa-thermometer-quarter","fas fa-thermometer-three-quarters","fas fa-thumbs-down","fas fa-thumbs-up","fas fa-thumbtack","fas fa-ticket-alt","fas fa-times","fas fa-times-circle","fas fa-tint","fas fa-tint-slash","fas fa-tired","fas fa-toggle-off","fas fa-toggle-on","fas fa-toilet","fas fa-toilet-paper","fas fa-toolbox","fas fa-tools","fas fa-tooth","fas fa-torah","fas fa-torii-gate","fas fa-tractor","fas fa-trademark","fas fa-traffic-light","fas fa-train","fas fa-tram","fas fa-transgender","fas fa-transgender-alt","fas fa-trash","fas fa-trash-alt","fas fa-tree","fas fa-trophy","fas fa-truck","fas fa-truck-loading","fas fa-truck-monster","fas fa-truck-moving","fas fa-truck-pickup","fas fa-tshirt","fas fa-tty","fas fa-tv","fas fa-umbrella","fas fa-umbrella-beach","fas fa-underline","fas fa-undo","fas fa-undo-alt","fas fa-universal-access","fas fa-university","fas fa-unlink","fas fa-unlock","fas fa-unlock-alt","fas fa-upload","fas fa-user","fas fa-user-alt","fas fa-user-alt-slash","fas fa-user-astronaut","fas fa-user-check","fas fa-user-circle","fas fa-user-clock","fas fa-user-cog","fas fa-user-edit","fas fa-user-friends","fas fa-user-graduate","fas fa-user-injured","fas fa-user-lock","fas fa-user-md","fas fa-user-minus","fas fa-user-ninja","fas fa-user-plus","fas fa-user-secret","fas fa-user-shield","fas fa-user-slash","fas fa-user-tag","fas fa-user-tie","fas fa-user-times","fas fa-users","fas fa-users-cog","fas fa-utensil-spoon","fas fa-utensils","fas fa-vector-square","fas fa-venus","fas fa-venus-double","fas fa-venus-mars","fas fa-vial","fas fa-vials","fas fa-video","fas fa-video-slash","fas fa-vihara","fas fa-volleyball-ball","fas fa-volume-down","fas fa-volume-mute","fas fa-volume-off","fas fa-volume-up","fas fa-vote-yea","fas fa-vr-cardboard","fas fa-walking","fas fa-wallet","fas fa-warehouse","fas fa-water","fas fa-weight","fas fa-weight-hanging","fas fa-wheelchair","fas fa-wifi","fas fa-wind","fas fa-window-close","fas fa-window-maximize","fas fa-window-minimize","fas fa-window-restore","fas fa-wine-bottle","fas fa-wine-glass","fas fa-wine-glass-alt","fas fa-won-sign","fas fa-wrench","fas fa-x-ray","fas fa-yen-sign","fas fa-yin-yang","far fa-address-book","far fa-address-card","far fa-angry","far fa-arrow-alt-circle-down","far fa-arrow-alt-circle-left","far fa-arrow-alt-circle-right","far fa-arrow-alt-circle-up","far fa-bell","far fa-bell-slash","far fa-bookmark","far fa-building","far fa-calendar","far fa-calendar-alt","far fa-calendar-check","far fa-calendar-minus","far fa-calendar-plus","far fa-calendar-times","far fa-caret-square-down","far fa-caret-square-left","far fa-caret-square-right","far fa-caret-square-up","far fa-chart-bar","far fa-check-circle","far fa-check-square","far fa-circle","far fa-clipboard","far fa-clock","far fa-clone","far fa-closed-captioning","far fa-comment","far fa-comment-alt","far fa-comment-dots","far fa-comments","far fa-compass","far fa-copy","far fa-copyright","far fa-credit-card","far fa-dizzy","far fa-dot-circle","far fa-edit","far fa-envelope","far fa-envelope-open","far fa-eye","far fa-eye-slash","far fa-file","far fa-file-alt","far fa-file-archive","far fa-file-audio","far fa-file-code","far fa-file-excel","far fa-file-image","far fa-file-pdf","far fa-file-powerpoint","far fa-file-video","far fa-file-word","far fa-flag","far fa-flushed","far fa-folder","far fa-folder-open","far fa-frown","far fa-frown-open","far fa-futbol","far fa-gem","far fa-grimace","far fa-grin","far fa-grin-alt","far fa-grin-beam","far fa-grin-beam-sweat","far fa-grin-hearts","far fa-grin-squint","far fa-grin-squint-tears","far fa-grin-stars","far fa-grin-tears","far fa-grin-tongue","far fa-grin-tongue-squint","far fa-grin-tongue-wink","far fa-grin-wink","far fa-hand-lizard","far fa-hand-paper","far fa-hand-peace","far fa-hand-point-down","far fa-hand-point-left","far fa-hand-point-right","far fa-hand-point-up","far fa-hand-pointer","far fa-hand-rock","far fa-hand-scissors","far fa-hand-spock","far fa-handshake","far fa-hdd","far fa-heart","far fa-hospital","far fa-hourglass","far fa-id-badge","far fa-id-card","far fa-image","far fa-images","far fa-keyboard","far fa-kiss","far fa-kiss-beam","far fa-kiss-wink-heart","far fa-laugh","far fa-laugh-beam","far fa-laugh-squint","far fa-laugh-wink","far fa-lemon","far fa-life-ring","far fa-lightbulb","far fa-list-alt","far fa-map","far fa-meh","far fa-meh-blank","far fa-meh-rolling-eyes","far fa-minus-square","far fa-money-bill-alt","far fa-moon","far fa-newspaper","far fa-object-group","far fa-object-ungroup","far fa-paper-plane","far fa-pause-circle","far fa-play-circle","far fa-plus-square","far fa-question-circle","far fa-registered","far fa-sad-cry","far fa-sad-tear","far fa-save","far fa-share-square","far fa-smile","far fa-smile-beam","far fa-smile-wink","far fa-snowflake","far fa-square","far fa-star","far fa-star-half","far fa-sticky-note","far fa-stop-circle","far fa-sun","far fa-surprise","far fa-thumbs-down","far fa-thumbs-up","far fa-times-circle","far fa-tired","far fa-trash-alt","far fa-user","far fa-user-circle","far fa-window-close","far fa-window-maximize","far fa-window-minimize","far fa-window-restore","fab fa-500px","fab fa-accessible-icon","fab fa-accusoft","fab fa-acquisitions-incorporated","fab fa-adn","fab fa-adobe","fab fa-adversal","fab fa-affiliatetheme","fab fa-algolia","fab fa-alipay","fab fa-amazon","fab fa-amazon-pay","fab fa-amilia","fab fa-android","fab fa-angellist","fab fa-angrycreative","fab fa-angular","fab fa-app-store","fab fa-app-store-ios","fab fa-apper","fab fa-apple","fab fa-apple-pay","fab fa-artstation","fab fa-asymmetrik","fab fa-atlassian","fab fa-audible","fab fa-autoprefixer","fab fa-avianex","fab fa-aviato","fab fa-aws","fab fa-bandcamp","fab fa-behance","fab fa-behance-square","fab fa-bimobject","fab fa-bitbucket","fab fa-bitcoin","fab fa-bity","fab fa-black-tie","fab fa-blackberry","fab fa-blogger","fab fa-blogger-b","fab fa-bluetooth","fab fa-bluetooth-b","fab fa-btc","fab fa-buromobelexperte","fab fa-buysellads","fab fa-canadian-maple-leaf","fab fa-cc-amazon-pay","fab fa-cc-amex","fab fa-cc-apple-pay","fab fa-cc-diners-club","fab fa-cc-discover","fab fa-cc-jcb","fab fa-cc-mastercard","fab fa-cc-paypal","fab fa-cc-stripe","fab fa-cc-visa","fab fa-centercode","fab fa-centos","fab fa-chrome","fab fa-cloudscale","fab fa-cloudsmith","fab fa-cloudversify","fab fa-codepen","fab fa-codiepie","fab fa-confluence","fab fa-connectdevelop","fab fa-contao","fab fa-cpanel","fab fa-creative-commons","fab fa-creative-commons-by","fab fa-creative-commons-nc","fab fa-creative-commons-nc-eu","fab fa-creative-commons-nc-jp","fab fa-creative-commons-nd","fab fa-creative-commons-pd","fab fa-creative-commons-pd-alt","fab fa-creative-commons-remix","fab fa-creative-commons-sa","fab fa-creative-commons-sampling","fab fa-creative-commons-sampling-plus","fab fa-creative-commons-share","fab fa-creative-commons-zero","fab fa-critical-role","fab fa-css3","fab fa-css3-alt","fab fa-cuttlefish","fab fa-d-and-d","fab fa-d-and-d-beyond","fab fa-dashcube","fab fa-delicious","fab fa-deploydog","fab fa-deskpro","fab fa-dev","fab fa-deviantart","fab fa-dhl","fab fa-diaspora","fab fa-digg","fab fa-digital-ocean","fab fa-discord","fab fa-discourse","fab fa-dochub","fab fa-docker","fab fa-draft2digital","fab fa-dribbble","fab fa-dribbble-square","fab fa-dropbox","fab fa-drupal","fab fa-dyalog","fab fa-earlybirds","fab fa-ebay","fab fa-edge","fab fa-elementor","fab fa-ello","fab fa-ember","fab fa-empire","fab fa-envira","fab fa-erlang","fab fa-ethereum","fab fa-etsy","fab fa-expeditedssl","fab fa-facebook","fab fa-facebook-f","fab fa-facebook-messenger","fab fa-facebook-square","fab fa-fantasy-flight-games","fab fa-fedex","fab fa-fedora","fab fa-figma","fab fa-firefox","fab fa-first-order","fab fa-first-order-alt","fab fa-firstdraft","fab fa-flickr","fab fa-flipboard","fab fa-fly","fab fa-font-awesome","fab fa-font-awesome-alt","fab fa-font-awesome-flag","fab fa-fonticons","fab fa-fonticons-fi","fab fa-fort-awesome","fab fa-fort-awesome-alt","fab fa-forumbee","fab fa-foursquare","fab fa-free-code-camp","fab fa-freebsd","fab fa-fulcrum","fab fa-galactic-republic","fab fa-galactic-senate","fab fa-get-pocket","fab fa-gg","fab fa-gg-circle","fab fa-git","fab fa-git-square","fab fa-github","fab fa-github-alt","fab fa-github-square","fab fa-gitkraken","fab fa-gitlab","fab fa-gitter","fab fa-glide","fab fa-glide-g","fab fa-gofore","fab fa-goodreads","fab fa-goodreads-g","fab fa-google","fab fa-google-drive","fab fa-google-play","fab fa-google-plus","fab fa-google-plus-g","fab fa-google-plus-square","fab fa-google-wallet","fab fa-gratipay","fab fa-grav","fab fa-gripfire","fab fa-grunt","fab fa-gulp","fab fa-hacker-news","fab fa-hacker-news-square","fab fa-hackerrank","fab fa-hips","fab fa-hire-a-helper","fab fa-hooli","fab fa-hornbill","fab fa-hotjar","fab fa-houzz","fab fa-html5","fab fa-hubspot","fab fa-imdb","fab fa-instagram","fab fa-intercom","fab fa-internet-explorer","fab fa-invision","fab fa-ioxhost","fab fa-itunes","fab fa-itunes-note","fab fa-java","fab fa-jedi-order","fab fa-jenkins","fab fa-jira","fab fa-joget","fab fa-joomla","fab fa-js","fab fa-js-square","fab fa-jsfiddle","fab fa-kaggle","fab fa-keybase","fab fa-keycdn","fab fa-kickstarter","fab fa-kickstarter-k","fab fa-korvue","fab fa-laravel","fab fa-lastfm","fab fa-lastfm-square","fab fa-leanpub","fab fa-less","fab fa-line","fab fa-linkedin","fab fa-linkedin-in","fab fa-linode","fab fa-linux","fab fa-lyft","fab fa-magento","fab fa-mailchimp","fab fa-mandalorian","fab fa-markdown","fab fa-mastodon","fab fa-maxcdn","fab fa-medapps","fab fa-medium","fab fa-medium-m","fab fa-medrt","fab fa-meetup","fab fa-megaport","fab fa-mendeley","fab fa-microsoft","fab fa-mix","fab fa-mixcloud","fab fa-mizuni","fab fa-modx","fab fa-monero","fab fa-napster","fab fa-neos","fab fa-nimblr","fab fa-nintendo-switch","fab fa-node","fab fa-node-js","fab fa-npm","fab fa-ns8","fab fa-nutritionix","fab fa-odnoklassniki","fab fa-odnoklassniki-square","fab fa-old-republic","fab fa-opencart","fab fa-openid","fab fa-opera","fab fa-optin-monster","fab fa-osi","fab fa-page4","fab fa-pagelines","fab fa-palfed","fab fa-patreon","fab fa-paypal","fab fa-penny-arcade","fab fa-periscope","fab fa-phabricator","fab fa-phoenix-framework","fab fa-phoenix-squadron","fab fa-php","fab fa-pied-piper","fab fa-pied-piper-alt","fab fa-pied-piper-hat","fab fa-pied-piper-pp","fab fa-pinterest","fab fa-pinterest-p","fab fa-pinterest-square","fab fa-playstation","fab fa-product-hunt","fab fa-pushed","fab fa-python","fab fa-qq","fab fa-quinscape","fab fa-quora","fab fa-r-project","fab fa-raspberry-pi","fab fa-ravelry","fab fa-react","fab fa-reacteurope","fab fa-readme","fab fa-rebel","fab fa-red-river","fab fa-reddit","fab fa-reddit-alien","fab fa-reddit-square","fab fa-redhat","fab fa-renren","fab fa-replyd","fab fa-researchgate","fab fa-resolving","fab fa-rev","fab fa-rocketchat","fab fa-rockrms","fab fa-safari","fab fa-sass","fab fa-schlix","fab fa-scribd","fab fa-searchengin","fab fa-sellcast","fab fa-sellsy","fab fa-servicestack","fab fa-shirtsinbulk","fab fa-shopware","fab fa-simplybuilt","fab fa-sistrix","fab fa-sith","fab fa-sketch","fab fa-skyatlas","fab fa-skype","fab fa-slack","fab fa-slack-hash","fab fa-slideshare","fab fa-snapchat","fab fa-snapchat-ghost","fab fa-snapchat-square","fab fa-soundcloud","fab fa-sourcetree","fab fa-speakap","fab fa-spotify","fab fa-squarespace","fab fa-stack-exchange","fab fa-stack-overflow","fab fa-staylinked","fab fa-steam","fab fa-steam-square","fab fa-steam-symbol","fab fa-sticker-mule","fab fa-strava","fab fa-stripe","fab fa-stripe-s","fab fa-studiovinari","fab fa-stumbleupon","fab fa-stumbleupon-circle","fab fa-superpowers","fab fa-supple","fab fa-suse","fab fa-teamspeak","fab fa-telegram","fab fa-telegram-plane","fab fa-tencent-weibo","fab fa-the-red-yeti","fab fa-themeco","fab fa-themeisle","fab fa-think-peaks","fab fa-trade-federation","fab fa-trello","fab fa-tripadvisor","fab fa-tumblr","fab fa-tumblr-square","fab fa-twitch","fab fa-twitter","fab fa-twitter-square","fab fa-typo3","fab fa-uber","fab fa-ubuntu","fab fa-uikit","fab fa-uniregistry","fab fa-untappd","fab fa-ups","fab fa-usb","fab fa-usps","fab fa-ussunnah","fab fa-vaadin","fab fa-viacoin","fab fa-viadeo","fab fa-viadeo-square","fab fa-viber","fab fa-vimeo","fab fa-vimeo-square","fab fa-vimeo-v","fab fa-vine","fab fa-vk","fab fa-vnv","fab fa-vuejs","fab fa-weebly","fab fa-weibo","fab fa-weixin","fab fa-whatsapp","fab fa-whatsapp-square","fab fa-whmcs","fab fa-wikipedia-w","fab fa-windows","fab fa-wix","fab fa-wizards-of-the-coast","fab fa-wolf-pack-battalion","fab fa-wordpress","fab fa-wordpress-simple","fab fa-wpbeginner","fab fa-wpexplorer","fab fa-wpforms","fab fa-wpressr","fab fa-xbox","fab fa-xing","fab fa-xing-square","fab fa-y-combinator","fab fa-yahoo","fab fa-yandex","fab fa-yandex-international","fab fa-yarn","fab fa-yelp","fab fa-yoast","fab fa-youtube","fab fa-youtube-square","fab fa-zhihu"]);const Bu=wp.i18n.__,Au=wp.element,Hu=Au.Component,Iu=Au.Fragment;var Ru=class extends Hu{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const e=this.props,t=e.value,n=e.disableToggle,a=e.colorSettings,r=e.iconColor,o=e.onColorChange,i=this.state.filterText;var l=[];return i.length>2?zu.forEach(e=>{e.includes(i)&&l.push(e)}):l=zu,wp.element.createElement("div",{className:"blockspare-field blockspare-field-icon-list "+(n?"":"blockspare-toggle-enabled")},this.props.label&&wp.element.createElement(Iu,null,n?wp.element.createElement("label",null,this.props.label):wp.element.createElement(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&wp.element.createElement(Color,{label:Bu(" Color"),value:r||"#ccc",onChange:e=>o(e)}),(n||""!=this.props.value)&&wp.element.createElement("div",{className:"blockspare-icon-list-wrapper"},wp.element.createElement("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),wp.element.createElement("div",{className:"blockspare-icon-list-icons"},l.map(e=>wp.element.createElement("span",{className:t==e?"blockspare-active":"",onClick:t=>{this.props.onChange(e)}},wp.element.createElement("span",{className:e}))))))}};const Wu=wp.i18n.__,Uu=wp.element.Fragment,Gu=wp.blockEditor,Vu=(Gu.InspectorControls,Gu.PanelColorSettings),qu=wp.components,$u=(qu.PanelBody,qu.SelectControl);qu.RangeControl;function Ju(e){const t=e.name,n=e.onChangeName,a=void 0===n?()=>{}:n,r=e.enableiconSize,o=e.iconSize,i=e.onChangeIconSizeOptions,l=void 0===i?()=>{}:i,s=e.enableiconStyles,c=e.iconStyles,u=e.onChangeIconStyles,p=void 0===u?()=>{}:u,d=e.iconBackgroundColor,m=e.onChangeIconBackgroundColor,f=void 0===m?()=>{}:m,b=(e.iconBorderColor,e.onChangeIconBorderColor,e.iconColor),g=e.OnChangeIconColor,h=void 0===g?()=>{}:g,y=(e.borderRadius,e.onChangeBorderRadius,[{value:"blockspare-icon-size-small",label:Wu("Small","blockspare")},{value:"blockspare-icon-size-medium",label:Wu("Medium","blockspare")},{value:"blockspare-icon-size-large",label:Wu("Large","blockspare")},{value:"blockspare-icon-size-extralarge",label:Wu("Extra Large","blockspare")}]),v=[{value:"blockspare-icon-style1",label:Wu("None","blockspare")},{value:"blockspare-icon-style2",label:Wu("Background","blockspare")},{value:"blockspare-icon-style3",label:Wu("Border","blockspare")}];return wp.element.createElement(Uu,null,wp.element.createElement(Ru,{value:t,onChange:a}),0!=r&&wp.element.createElement($u,{label:Wu("Icon Size","blockspare"),value:o,options:y.map(({value:e,label:t})=>({value:e,label:t})),onChange:l}),0!=s&&wp.element.createElement($u,{label:Wu("Icon Style","blockspare"),value:c,options:v.map(({value:e,label:t})=>({value:e,label:t})),onChange:p}),wp.element.createElement(Vu,{title:Wu("Icon Color","blockspare"),initialOpen:!1,colorSettings:[{value:b,onChange:h,label:Wu("Icon Color","blockspare")}]}),"blockspare-icon-style2"===c&&wp.element.createElement(Vu,{title:Wu("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:d,onChange:f,label:Wu("Background Color","blockspare")}]}))}const Xu=wp.element.Component,Ku=wp.i18n.__,Qu=wp.blockEditor,Zu=Qu.InspectorControls,ep=(Qu.PanelColorSettings,wp.components),tp=(ep.RangeControl,ep.PanelBody),np=ep.ToggleControl,ap=ep.SelectControl;class rp extends Xu{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.backGroundColor,t.showImage),a=(t.counterFontColor,t.paddingTop),r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,l=t.marginTop,s=t.marginBottom,c=t.imgIconOption,u=t.name,p=t.iconSize,d=t.iconStyles,m=t.iconBackgroundColor,f=t.iconBorderColor,b=t.iconColor,g=t.borderRadius,h=(t.design,t.titleFontSize),y=(t.subtitleFontSize,t.headerTagOption),v=t.headertitleColor,w=t.headersubtitleColor,k=t.headerlayoutOption,_=t.titlePaddingTop,S=t.titlePaddingBottom,E=t.subtitlePaddingTop,T=t.subtitlePaddingBottom,x=t.headerboxColor,M=t.dashColor,C=(t.blockBorderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.titleLoadGoogleFonts),L=t.titleFontFamily,O=t.titleFontWeight,D=t.titleFontSubset,j=t.titleFontSizeType,F=t.titleFontSizeMobile,P=t.titleFontSizeTablet,Y=t.subTitleFontSize,N=t.subTitleLoadGoogleFonts,z=t.subTitleFontFamily,B=t.subTitleFontWeight,A=t.subTitleFontSubset,H=t.subTitleFontSizeType,I=t.subTitleFontSizeMobile,R=t.subTitleFontSizeTablet,W=t.counterFontSize,U=t.counterLoadGoogleFonts,G=t.counterFontFamily,V=t.counterFontWeight,q=t.counterFontSubset,$=t.counterFontSizeType,J=t.counterFontSizeMobile,X=t.counterFontSizeTablet,K=e.attributes,Q=e.setAttributes,Z=(Ku("Icon","blockspare"),Ku("Image","blockspare"),Ku("Layout 1","blockspare"),Ku("Layout 2","blockspare"),[{value:"blockspare-style1",label:Ku("Layout 1","blockspare")},{value:"blockspare-style2",label:Ku("Layout 2","blockspare")},{value:"blockspare-style3",label:Ku("Layout 3","blockspare")}]);return wp.element.createElement(Zu,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(tp,{title:Ku("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(np,{label:Ku("Display Icon ","blockspare"),checked:n,onChange:()=>this.props.setAttributes({showImage:!n})})),"icon"==c&&n&&wp.element.createElement(tp,{title:Ku("Icon Settings"),initialOpen:!1},wp.element.createElement(Ju,{name:u,onChangeName:e=>Q({name:e}),enableiconSize:!1,iconSize:p,onChangeIconSizeOptions:e=>Q({iconSize:e}),enableiconStyles:!1,iconStyles:d,onChangeIconStyles:e=>Q({iconStyles:e}),iconBackgroundColor:m,onChangeIconBackgroundColor:e=>Q({iconBackgroundColor:e}),iconBorderColor:f,onChangeIconBorderColor:e=>Q({iconBorderColor:e}),iconColor:b,OnChangeIconColor:e=>Q({iconColor:e}),borderRadius:g,onChangeBorderRadius:e=>Q({borderRadius:e})})),wp.element.createElement(tp,{title:Ku("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(tp,{title:Ku("Layouts","blockspare"),initialOpen:!1},wp.element.createElement(ap,{label:Ku("Header Style","blockspare"),value:k,options:Z.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>this.props.setAttributes({headerlayoutOption:e})})),wp.element.createElement(tp,{title:Ku("Typography Settings","blockspare")},wp.element.createElement(ho,{label:Ku("Title Fonts Settings"),attributes:K,setAttributes:Q,loadGoogleFonts:{value:C,label:Ku("titleLoadGoogleFonts")},fontFamily:{value:L,label:Ku("titleFontFamily")},fontWeight:{value:O,label:Ku("titleFontWeight")},fontSubset:{value:D,label:Ku("titleFontSubset")},fontSizeType:{value:j,label:Ku("titleFontSizeType")},fontSize:{value:h,label:Ku("titleFontSize")},fontSizeMobile:{value:F,label:Ku("titleFontSizeMobile")},fontSizeTablet:{value:P,label:Ku("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:y}),wp.element.createElement(ho,{label:Ku("Subtitle Fonts Settings"),attributes:K,setAttributes:Q,loadGoogleFonts:{value:N,label:Ku("subTitleLoadGoogleFonts")},fontFamily:{value:z,label:Ku("subTitleFontFamily")},fontWeight:{value:B,label:Ku("subTitleFontWeight")},fontSubset:{value:A,label:Ku("subTitleFontSubset")},fontSizeType:{value:H,label:Ku("subTitleFontSizeType")},fontSize:{value:Y,label:Ku("subTitleFontSize")},fontSizeMobile:{value:I,label:Ku("subTitleFontSizeMobile")},fontSizeTablet:{value:R,label:Ku("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),wp.element.createElement(ho,{label:Ku("Counter Fonts Settings"),attributes:K,setAttributes:Q,loadGoogleFonts:{value:U,label:Ku("counterLoadGoogleFonts")},fontFamily:{value:G,label:Ku("counterFontFamily")},fontWeight:{value:V,label:Ku("counterFontWeight")},fontSubset:{value:q,label:Ku("counterFontSubset")},fontSizeType:{value:$,label:Ku("counterFontSizeType")},fontSize:{value:W,label:Ku("counterFontSize")},fontSizeMobile:{value:J,label:Ku("counterFontSizeMobile")},fontSizeTablet:{value:X,label:Ku("counterFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(pn,{enableBlockGaps:!1,headerTagOption:y,onChangeHeaderTag:e=>Q({headerTagOption:e}),headerboxColor:x,onChangeboxcolor:e=>Q({headerboxColor:e}),dashColor:M,headerlayoutOption:k,onChangeDashColor:e=>Q({dashColor:e}),headertitleColor:v,onChangetitlecolor:e=>Q({headertitleColor:e}),titlePaddingTop:_,onChangetitlePaddingTop:e=>Q({titlePaddingTop:e}),titlePaddingBottom:S,onChangetitlePaddingBottom:e=>Q({titlePaddingBottom:e}),headersubtitleColor:w,onChangesubtitlecolor:e=>Q({headersubtitleColor:e}),subtitlePaddingTop:E,onChangesubtitlePaddingTop:e=>Q({subtitlePaddingTop:e}),subtitlePaddingBottom:T,onChangesubtitlePaddingBottom:e=>Q({subtitlePaddingBottom:e})})),wp.element.createElement(tp,{title:Ku("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(tp,{title:Ku("Padding Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:a,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>Q({paddingTop:e}),paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>Q({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:o,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>Q({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:i,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>Q({paddingLeft:e})})),wp.element.createElement(tp,{title:Ku("Margin Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:l,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>Q({marginTop:e}),marginEnableBottom:!0,marginBottom:s,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>Q({marginBottom:e})})))))}}var op=n(267),ip=n.n(op);var lp=e=>{let t="";return t="blockspare-icon-style2"===e.iconStyles?{backgroundColor:e.iconBackgroundColor?e.iconBackgroundColor:"#8b249c",borderColor:e.iconBorderColor?e.iconBorderColor:"#8b249c",color:e.iconColor?e.iconColor:"#fff",borderRadius:e.borderRadius+"%"}:"blockspare-icon-style3"===e.iconStyles?{backgroundColor:"transparent",borderColor:e.iconBorderColor?e.iconBorderColor:"#8b249c",color:e.iconColor?e.iconColor:"#fff",borderRadius:e.borderRadius+"%"}:{color:e.iconColor?e.iconColor:"#fff"},t};function sp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function cp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sp(Object(n),!0).forEach((function(t){up(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function up(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pp=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,o=t.titlePaddingTop,i=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.headerpaddingTop,m=t.headerpaddingRight,f=t.headerpaddingBottom,b=t.headerpaddingLeft,g=t.headermarginTop,h=t.headermarginBottom,y=t.counterFontColor,v=t.backGroundColor,w=t.blockBorderRadius,k=t.titleFontFamily,_=t.titleFontWeight,S=t.titleFontSizeType,E=t.titleFontSizeMobile,T=t.titleFontSizeTablet,x=t.subTitleFontSize,M=t.subTitleFontFamily,C=t.subTitleFontWeight,L=t.subTitleFontSizeType,O=t.subTitleFontSizeMobile,D=t.subTitleFontSizeTablet,j=t.counterFontSize,F=t.counterFontFamily,P=t.counterFontWeight,Y=t.counterFontSizeType,N=t.counterFontSizeMobile,z=t.counterFontSizeTablet,B=[];return B.push({".blockspare-counter-wrapper":cp({backgroundColor:v||"#fff"},Jo(e.attributes),{},Xo(e.attributes),{borderRadius:w||null}),".blockspare-block-icon":cp({},lp(e.attributes)),".blockspare-counter":{fontSize:j+Y,fontFamily:F,fontWeight:P}}),B.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:d+"px",paddingRight:m+"px",paddingBottom:f+"px",marginTop:g+"px",marginBottom:h+"px",paddingLeft:b+"px"}}),B.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+S,fontFamily:k,fontWeight:_,paddingTop:o+"px ",paddingBottom:i+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:x+L,fontFamily:M,fontWeight:C,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},".blockspare-counter-wrapper":cp({backgroundColor:v||"#fff"},Jo(e.attributes),{},Xo(e.attributes),{borderRadius:w?w+"px":null}),".blockspare-counter":{color:y||"#000"},"..blockspare-block-icon":cp({},lp(e.attributes)),tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:T+S},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:D+L},".blockspare-counter":{fontSize:z+S}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:E+S},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:O+L},".blockspare-counter":{fontSize:N+S}}}),dt.a.all(B)};function dp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function mp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fp=wp.element,bp=fp.Component,gp=fp.Fragment,hp=(wp.i18n.__,wp.compose.compose),yp=wp.components,vp=yp.Toolbar,kp=yp.RangeControl,_p=wp.blockEditor,Sp=_p.BlockControls,Ep=_p.InnerBlocks,Tp=["core/image"],xp=[["core/image",{}]];var Mp=hp(ut,lt(pp))(class extends bp{render(){const e=this.props,t=e.attributes,n=t.align,a=t.showImage,r=t.counter,o=(t.counterFontColor,t.imgIconOption),l=t.name,s=t.iconSize,c=t.iconStyles,u=t.design,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=(t.blockBorderRadius,t.titleLoadGoogleFonts),b=t.titleFontFamily,g=t.titleFontWeight,h=t.subTitleLoadGoogleFonts,y=t.subTitleFontFamily,v=t.subTitleFontWeight,w=t.headerlayoutOption,k=t.sectionAlignment,_=t.counterLoadGoogleFonts,S=t.counterFontFamily,E=t.counterFontWeight,T=e.className,x=(e.isSelected,e.attributes,e.setAttributes);let M;if(1==_){const e={google:{families:[S+(E?":"+E:"")]}};M=wp.element.createElement(Io,{config:e})}const C=i()([T]);return wp.element.createElement(gp,null,wp.element.createElement(rp,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dp(Object(n),!0).forEach((function(t){mp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:x},this.props)),wp.element.createElement(Sp,null,wp.element.createElement(vp,null,wp.element.createElement(kp,{className:"blockspare_progress_bar_value",value:r,onChange:e=>x({counter:e}),min:0,max:1e6}))),wp.element.createElement("div",{className:C},this.props.styles,wp.element.createElement("div",{className:"blockspare-counter-wrapper blockspare-blocks"},wp.element.createElement("div",{className:i()("blockspare-counter-section")},wp.element.createElement("div",{className:i()("blockspare-counters-item",u)},a&&"image"==o&&wp.element.createElement(Ep,{template:xp,allowedBlocks:Tp,templateLock:!0,templateInsertUpdatesSelection:!0}),a&&"icon"==o&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:i()("blockspare-block-icon",s,c)},wp.element.createElement("i",{className:l}))),wp.element.createElement("div",{className:"blockspare-counters"},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks","align"+n)},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",w,"blockspare-"+k)},wp.element.createElement($o,{setAttributes:x,headerTitle:d,headerTagOption:p,headerSubTitle:m,titleFontFamily:b,titleFontWeight:g,titleLoadGoogleFonts:f,subTitleLoadGoogleFonts:h,subTitleFontFamily:y,subTitleFontWeight:v})))),wp.element.createElement("p",{className:"blockspare-counter"},wp.element.createElement(ip.a,{className:"account-balance",start:0,end:r,duration:4.75})))))),M)}});const Cp=wp.element.Component,Lp=wp.compose.compose,Op=wp.blockEditor.InnerBlocks;var Dp=Lp(ut,lt(pp))(class extends Cp{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.showImage,a=t.counter,r=t.align,o=(t.counterFontColor,t.imgIconOption),l=t.name,s=t.iconSize,c=t.iconStyles,u=t.design,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=(t.backGroundColor,t.blockBorderRadius,t.sectionAlignment),b=t.headerlayoutOption,g=e.className,h=(e.attributes,i()([g]));return wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:"blockspare-counter-wrapper blockspare-blocks blockspare-section-counter-bar"},wp.element.createElement("div",{className:i()("blockspare-counter-section")},wp.element.createElement("div",{className:i()("blockspare-counters-item",u)},n&&"image"==o&&wp.element.createElement(Op.Content,null),n&&"icon"==o&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:i()("blockspare-block-icon",s,c)},wp.element.createElement("i",{className:l}))),wp.element.createElement("div",{className:"blockspare-counters"},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks","align"+r)},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",b,"blockspare-"+f)},wp.element.createElement(Ei,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),wp.element.createElement("p",{className:"blockspare-counter"},a)))))}});function jp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Fp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jp(Object(n),!0).forEach((function(t){Pp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Yp=Fp({},nn,{},Jt,{},Nu.attributes,{},an),Np=wp.editor.RichText;var zp=[{attributes:Yp,save:function(e){const t=e.attributes,n=t.showImage,a=t.counter,r=t.counterFontColor,o=t.imgIconOption,l=t.name,s=t.iconSize,c=t.iconStyles,u=t.design,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.backGroundColor,b=t.blockBorderRadius,g=Fp({backgroundColor:f||"#fff"},Jo(e.attributes),{},Xo(e.attributes),{borderRadius:b||null}),h=Fp({},lp(e.attributes)),y=Fp({},Di(e.attributes)),v=Fp({},ji(e.attributes)),w=Fp({},Fi(e.attributes));return wp.element.createElement("div",{className:"blockspare-counter-wrapper blockspare-blocks blockspare-section-counter-bar",style:g},wp.element.createElement("div",{className:i()("blockspare-counter-section")},wp.element.createElement("div",{className:i()("blockspare-counters-item",u)},n&&"image"==o&&wp.element.createElement(InnerBlocks.Content,null),n&&"icon"==o&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:i()("blockspare-block-icon",s,c),style:h},wp.element.createElement("i",{className:l}))),wp.element.createElement("div",{className:"blockspare-counters"},wp.element.createElement(Wi,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:y}),d&&wp.element.createElement(Np.Content,{tagName:p,className:"blockspare-title",style:v,value:d}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:y})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:y}),m&&wp.element.createElement(Np.Content,{tagName:"p",className:"blockspare-subtitle",style:w,value:m}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:y})))),wp.element.createElement("p",{className:"blockspare-counter",style:{color:r||"#000"}},a))))}}];function Bp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ap(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Hp=Nu.name,Ip=Nu.category,Rp=wp.i18n.__,Wp=wp.blocks.registerBlockType,Up=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bp(Object(n),!0).forEach((function(t){Ap(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},nn,{},Jt,{},Nu.attributes,{},an);Wp(Hp,{title:Rp("BS Counter","blockspare"),description:Rp("Add counter in you page and post","blockspare`"),Description:"Displays Counter",category:Ip,icon:r.counter,attributes:Up,keywords:[Rp("block","blockspare"),Rp("counter","blockspare"),Rp("number","blockspare"),Rp("box","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{counter:100,counterFontColor:"#000",headertitleColor:"#000",backGroundColor:"#fff",headersubtitleColor:"#000",name:"fas fa-chart-line",headerTitle:"Enter Title"}},edit:Mp,save:Dp,deprecated:zp});n(463);var Gp=n(27);const Vp=wp.i18n.__,qp=wp.element.Component,$p=wp.blockEditor.InspectorControls,Jp=wp.components.PanelBody;class Xp extends qp{render(){const e=this.props.attributes,t=e.name,n=e.iconSize,a=e.iconStyles,r=e.iconBackgroundColor,o=e.iconBorderColor,i=e.iconColor,l=e.borderRadius,s=e.marginTop,c=e.marginBottom,u=this.props.setAttributes;return wp.element.createElement($p,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Jp,{title:Vp("Icon Settings"),initialOpen:!1},wp.element.createElement(Ju,{name:t,onChangeName:e=>u({name:e}),enableiconSize:!1,iconSize:n,onChangeIconSizeOptions:e=>u({iconSize:e}),enableiconStyles:!1,iconStyles:a,onChangeIconStyles:e=>u({iconStyles:e}),iconBackgroundColor:r,onChangeIconBackgroundColor:e=>u({iconBackgroundColor:e}),iconBorderColor:o,onChangeIconBorderColor:e=>u({iconBorderColor:e}),iconColor:i,OnChangeIconColor:e=>u({iconColor:e}),borderRadius:l,onChangeBorderRadius:e=>u({borderRadius:e})})),wp.element.createElement(Jp,{title:Vp("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:s,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>u({marginTop:e}),marginEnableBottom:!0,marginBottom:c,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>u({marginBottom:e})}))))}}var Kp=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconStyles,r=t.iconBackgroundColor,o=t.iconBorderColor,i=t.iconColor,l=t.borderRadius,s=t.marginTop,c=t.marginBottom,u=[];return u.push({".blockspare-block-icon-wrapper":{textAlign:n,marginTop:s+"px",marginBottom:c+"px"}}),"blockspare-icon-style2"===a?u.push({".blockspare-block-icon":{backgroundColor:r||"#8b249c",borderColor:o||"#8b249c",color:i||"#fff",borderRadius:l+"%"}}):"blockspare-icon-style3"===a?u.push({".blockspare-block-icon":{backgroundColor:"transparent",borderColor:o||"#8b249c",color:i||"#fff",borderRadius:l+"%"}}):u.push({".blockspare-block-icon":{color:i||"#fff"}}),dt.a.all(u)};function Qp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Zp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ed=wp.element,td=ed.Component,nd=ed.Fragment,ad=(wp.i18n.__,wp.compose.compose),rd=wp.blockEditor,od=rd.AlignmentToolbar,id=rd.BlockControls;var ld=ad(ut,lt(Kp,{editorMode:!0}))(class extends td{constructor(){super(...arguments),this.state={device:"md",spacer:!0}}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}render(){const e=this.props,t=e.attributes,n=t.name,a=t.iconSize,r=t.iconStyles,o=t.sectionAlignment,l=e.className,s=(e.attributes,e.setAttributes),c=i()([l,"blockspare-blocks"]);return wp.element.createElement(nd,null,wp.element.createElement(id,{key:"controls"},wp.element.createElement(od,{value:o,onChange:e=>{s({sectionAlignment:e})}})),wp.element.createElement(Xp,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qp(Object(n),!0).forEach((function(t){Zp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:s},this.props)),wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:i()("blockspare-block-icon",a,r)},wp.element.createElement("i",{className:n})))))}});const sd=wp.element.Component,cd=wp.compose.compose;var ud=cd(ut,lt(Kp))(class extends sd{render(){const e=this.props,t=e.attributes,n=t.name,a=t.iconSize,r=t.iconStyles,o=e.className,l=i()([o,"blockspare-blocks"]);return wp.element.createElement("div",{className:l},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:i()("blockspare-block-icon",a,r)},wp.element.createElement("i",{className:n}))))}});var pd=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconStyles,r=t.iconBackgroundColor,o=t.iconBorderColor,i=t.iconColor,l=t.borderRadius,s=[];return s.push({".blockspare-block-icon-wrapper":{textAlign:n}}),"blockspare-icon-style2"===a?s.push({".blockspare-block-icon":{backgroundColor:r||"#8b249c",borderColor:o||"#8b249c",color:i||"#fff",borderRadius:l+"%"}}):"blockspare-icon-style3"===a?s.push({".blockspare-block-icon":{backgroundColor:"transparent",borderColor:o||"#8b249c",color:i||"#fff",borderRadius:l+"%"}}):s.push({".blockspare-block-icon":{color:i||"#fff"}}),dt.a.all(s)};const dd=wp.element.Component,md=wp.compose.compose;var fd=md(ut,lt(pd))(class extends dd{render(){const e=this.props,t=e.attributes,n=t.name,a=t.iconSize,r=t.iconStyles,o=e.className,l=i()([o,"blockspare-blocks"]);return wp.element.createElement("div",{className:l},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:i()("blockspare-block-icon",a,r)},wp.element.createElement("i",{className:n}))))}});function bd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function gd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const hd=Gp.attributes;var yd=[{attributes:hd,save:function(e){const t=e.attributes,n=t.name,a=t.iconSize,r=t.iconStyles,o=t.sectionAlignment,l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bd(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},lp(e.attributes));return wp.element.createElement("div",{className:"blockspare-block"},wp.element.createElement("div",{className:"blockspare-block-icon-wrapper",style:{textAlign:o}},wp.element.createElement("div",{className:i()("blockspare-block-icon",a,r),style:l},wp.element.createElement("i",{className:n}))))}},{attributes:hd,save:e=>wp.element.createElement(fd,e)}];const vd=Gp.name,wd=Gp.category,kd=Gp.attributes,_d=wp.i18n.__;(0,wp.blocks.registerBlockType)(vd,{title:_d("BS Icon","blockspare"),description:_d("Our Icon block allows you to choose and place various type of icons","blockspare"),category:wd,icon:r.iconblockspare,keywords:[_d("block","blockspare"),_d("icon","blockspare"),_d("set","blockspare"),_d("box","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},attributes:kd,edit:ld,save:ud,deprecated:yd});n(464),n(465);var Sd=n(28),Ed=n(24),Td=n.n(Ed),xd=n(25),Md=n.n(xd);const Cd=wp.i18n.__,Ld=wp.element.Component,Od=wp.blockEditor,Dd=Od.InspectorControls,jd=Od.PanelColorSettings,Fd=wp.components,Pd=Fd.PanelBody,Yd=Fd.SelectControl,Nd=Fd.ToggleControl,zd=(Fd.TextControl,Fd.RangeControl);class Bd extends Ld{imageSizeSelect(){const e=wp.data.select("core/editor").getEditorSettings();return Md()(mn()(e.imageSizes,({name:e,slug:t})=>({value:t,label:e})))}render(){const e=this.props,t=e.attributes,n=t.numberofSlide,a=(t.carouselSpeed,t.showsliderNextPrev),r=(t.carouselNextIcon,t.showDots),o=t.navigationColor,i=t.gutterSpace,l=(t.colorFilter,t.showOriginalOnHover,t.navigationSize),s=t.enableAutoPlay,c=t.marginTop,u=t.marginBottom,p=(e.attributes,e.setAttributes),d={value:"selectimage",label:Cd("Select image size")};this.imageSizeSelect().unshift(d);Cd("Chevron","blockspare"),Cd("Angle","blockspare"),Cd("Chevron Circle","blockspare"),Cd("Caret","blockspare"),Cd("Circle","blockspare"),Cd("Original","blockspare"),Cd("Grayscale","blockspare"),Cd("Sepia","blockspare"),Cd("Saturation","blockspare"),Cd("Dim","blockspare"),Cd("Vintage","blockspare");const m=[{value:"blockspare-navigation-small",label:Cd("Small","blockspare")},{value:"blockspare-navigation-medium",label:Cd("Medium","blockspare")},{value:"blockspare-navigation-large",label:Cd("Large","blockspare")}];return wp.element.createElement(Dd,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Pd,{title:Cd("Carousel Settings","blockspare"),initialOpen:!1},wp.element.createElement(zd,{label:Cd("Number of slide to show","blockspare"),value:n,onChange:e=>p({numberofSlide:e}),min:2,max:3}),wp.element.createElement(zd,{label:Cd("Gutter Sapce","blockspare"),value:i,onChange:e=>p({gutterSpace:e}),min:0,max:5}),wp.element.createElement(Nd,{label:Cd("Enable Autoplay","blockspare"),checked:s,onChange:()=>this.props.setAttributes({enableAutoPlay:!s}),help:Cd("The effect will applicable on frontend only.","blockspare")}),wp.element.createElement(Nd,{label:Cd("Display Navigation","blockspare"),checked:a,onChange:()=>this.props.setAttributes({showsliderNextPrev:!a})}),a&&wp.element.createElement(Yd,{label:Cd(" Navigation Size","blockspare"),value:l,options:m.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>p({navigationSize:e})}),wp.element.createElement(Nd,{label:Cd("Display Dots","blockspare"),checked:r,onChange:()=>this.props.setAttributes({showDots:!r})}),a&&wp.element.createElement(jd,{title:Cd("Navigation/Dots Color","blockspare"),initialOpen:!1,colorSettings:[{value:o,onChange:e=>p({navigationColor:e}),label:Cd("Navigation/Dots Color","blockspare")}]})),wp.element.createElement(Pd,{title:Cd("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:c,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>p({marginTop:e}),marginEnableBottom:!0,marginBottom:u,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>p({marginBottom:e})}))))}}var Ad=n(268),Hd=n.n(Ad);const Id=wp.i18n.__,Rd=wp.element,Wd=Rd.Component,Ud=Rd.Fragment,Gd=wp.compose.compose,Vd=wp.components,qd=Vd.IconButton,$d=Vd.Spinner,Jd=Vd.Dashicon,Xd=wp.blockEditor,Kd=Xd.RichText,Qd=Xd.URLInput,Zd=wp.data.withSelect,em=wp.keycodes,tm=(em.BACKSPACE,em.DELETE,wp.blob.isBlobURL);var nm=Gd([Zd((e,t)=>{const n=e("core").getMedia,a=t.id;return{image:a?n(a):null}})])(class extends Wd{constructor(){super(...arguments),this.onImageClick=this.onImageClick.bind(this),this.onSelectCaption=this.onSelectCaption.bind(this),this.bindContainer=this.bindContainer.bind(this),this.saveCustomLink=this.saveCustomLink.bind(this),this.state={captionSelected:!1,captionFocused:!1,isSaved:!1}}bindContainer(e){this.container=e}onSelectCaption(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}onImageClick(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1,captionFocused:!1})}saveCustomLink(){this.setState({isSaved:!0})}componentDidUpdate(e){const t=this.props,n=t.isSelected,a=t.image,r=t.url,o=t.imgLink;a&&!r&&this.props.setAttributes({url:a.source_url,alt:a.alt_text}),this.state.captionSelected&&!n&&e.isSelected&&this.setState({captionSelected:!1,captionFocused:!1}),o&&!n&&e.isSelected&&this.setState({isSaved:!1})}render(){const e=this.props,t=e.alt,n=e.caption,a=e.captions,r=e.fontSize,o=e.gutter,l=e.gutterMobile,s=e.id,c=e.isFirstItem,u=e.isLastItem,p=e.isSelected,d=e.linkTo,m=e.marginBottom,f=e.marginLeft,b=e.marginRight,g=e.marginTop,h=e.onMoveBackward,y=e.onMoveForward,v=e.onRemove,w=e.setAttributes,k=e.shadow,_=e.supportsCaption,S=e.supportsMoving,E=void 0===S||S,T=e.verticalMoving,x=void 0!==T&&T,M=e.url,C=e.sizes,L=e.inspectorSize,O=e["aria-label"],D=e.imgLink;let j="";j=C?"medium"===L?void 0===C.medium?M:void 0!==C.medium?C.medium.url:M:"full"===L?void 0===C.large?M:void 0!==C.full.url?C.full.url:M:M:M;const F=i()({["has-shadow-"+k]:"none"!==k||void 0!==k}),P=wp.element.createElement(Ud,null,wp.element.createElement("img",{src:j,className:F,alt:t,"data-id":s,"data-imglink":D,onClick:this.onImageClick,tabIndex:"0","aria-label":O}),tm(M)&&wp.element.createElement($d,null)),Y=i()({"is-selected":p,"is-transient":M&&0===M.indexOf("blob:"),["has-margin-top-"+o]:g&&o>0,["has-margin-top-mobile-"+l]:g&&l>0,["has-margin-right-"+o]:b&&o>0,["has-margin-right-mobile-"+l]:b&&l>0,["has-margin-bottom-"+o]:m&&o>0,["has-margin-bottom-mobile-"+l]:m&&l>0,["has-margin-left-"+o]:f&&o>0,["has-margin-left-mobile-"+l]:f&&l>0}),N={fontSize:r?r+"px":void 0};return wp.element.createElement("figure",{className:"blockspare-gallery-figure "+Y,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.bindContainer},p&&wp.element.createElement(Ud,null,E&&wp.element.createElement("div",{className:"components-blockspare-gallery-item__move-menu"},wp.element.createElement(qd,{icon:x?"arrow-up":"arrow-left",onClick:!c&&h,className:"blockspare-gallery-item-button",label:Id("Move Image Backward","blockspare"),"aria-disabled":c,disabled:!p}),wp.element.createElement(qd,{icon:x?"arrow-down":"arrow-right",onClick:!u&&y,className:"blockspare-gallery-item-button",label:Id("Move Image Forward","blockspare"),"aria-disabled":u,disabled:!p})),wp.element.createElement("div",{className:"components-blockspare-gallery-item__remove-menu"},wp.element.createElement(qd,{icon:"no-alt",onClick:v,className:"blockspare-gallery-item-button",label:Id("Remove Image","blockspare"),disabled:!p})),"custom"===d&&wp.element.createElement("form",{className:"components-blockspare-gallery-item-image-link",onSubmit:e=>e.preventDefault()},wp.element.createElement(Jd,{icon:"admin-links"}),wp.element.createElement(Qd,{value:D,onChange:e=>w({imgLink:e})}),wp.element.createElement(qd,{icon:this.state.isSaved?"saved":"editor-break",label:this.state.isSaved?Id("Saving","blockspare"):Id("Apply","blockspare"),onClick:this.saveCustomLink,type:"submit"}))),P,!0!==_||Kd.isEmpty(n)&&!p||!a?null:wp.element.createElement(Kd,{tagName:"figcaption",placeholder:Id("Write caption…","blockspare"),className:"blockspare-gallery-caption",style:N,value:n,isSelected:this.state.captionSelected,onChange:e=>w({caption:e}),unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}),am=n(269),rm=n.n(am),om=n(54),im=n.n(om),lm=n(270),sm=n.n(lm);const cm=(e,t)=>{const n=rm()(e,["alt","id","link","caption","imgLink","sizes"]);n.url=im()(e,["sizes","large","url"])||im()(e,["media_details","sizes","large","source_url"])||e.url;const a=sm()(t,(function(e){return e.url===n.url}));return n.imgLink=a>=0?t[a].imgLink:"",n},um=["image"],pm=wp.i18n,dm=pm.__,mm=pm.sprintf,fm=wp.element.Component,bm=wp.blockEditor,gm=bm.MediaPlaceholder,hm=bm.BlockIcon;var ym=class extends fm{constructor(){super(...arguments),this.onSelectImages=this.onSelectImages.bind(this)}onSelectImages(e){this.props.setAttributes({images:e.map(e=>cm(e))})}render(){const e=this.props,t=e.attributes,n=(e.gutter,e.gutterMobile,e.isSelected),a=(e.marginBottom,e.marginLeft,e.marginRight,e.marginTop,e.noticeOperations),r=e.noticeUI,o=t.images,l=!!o.length,s=i()("blockspare-gallery--figure");return wp.element.createElement("div",{className:s},wp.element.createElement(gm,{addToGallery:l,isAppender:l,dropZoneUIOnly:l&&!n,icon:!l&&wp.element.createElement(hm,{icon:this.props.icon}),labels:{title:!l&&mm(dm("%s Gallery","blockspare"),this.props.label),instructions:!l&&dm("Upload an image file, pick one from your media library, or add one with a URL.","blockspare")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:um,multiple:!0,value:l?o:void 0,onError:a.createErrorNotice,notices:l?void 0:r}))}};const vm=wp.element,wm=vm.Component,km=vm.Fragment,_m=wp.blockEditor.mediaUpload,Sm=wp.components.DropZone;var Em=class extends wm{constructor(){super(...arguments),this.addMediaFiles=this.addMediaFiles.bind(this)}addMediaFiles(e){const t=this.props.attributes.images||[],n=this.props,a=n.noticeOperations,r=n.setAttributes;_m({allowedTypes:um,filesList:e,onFileChange:e=>{const n=e.map(e=>cm(e));r({images:t.concat(n)})},onError:a.createErrorNotice})}render(){return wp.element.createElement(km,null,wp.element.createElement(Sm,{onFilesDrop:this.addMediaFiles,label:this.props.label}))}};var Tm=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=[];return r.push({".blockspare-carousel-wrap":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0}}),dt.a.all(r)};function xm(){return(xm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Mm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Cm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mm(Object(n),!0).forEach((function(t){Lm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Om=wp.element,Dm=Om.Component,jm=Om.Fragment,Fm=wp.i18n,Pm=Fm.__,Ym=Fm.sprintf,Nm=wp.compose.compose,zm=wp.components,Bm=zm.withNotices,Am=(zm.ResizableBox,zm.Toolbar),Hm=zm.IconButton,Im=wp.blockEditor,Rm=Im.BlockControls,Wm=Im.MediaUpload,Um=Im.MediaUploadCheck;var Gm=Nm([Bm,ut,lt(Tm)])(class extends Dm{constructor(){super(...arguments),this.onSelectImage=this.onSelectImage.bind(this),this.onRemoveImage=this.onRemoveImage.bind(this),this.onMoveForward=this.onMoveForward.bind(this),this.onMoveBackward=this.onMoveBackward.bind(this),this.setImageAttributes=this.setImageAttributes.bind(this),this.onItemClick=this.onItemClick.bind(this),this.onEditSelectImages=this.onEditSelectImages.bind(this),this.state={selectedImage:null,captionFocused:!1}}componentDidMount(){this.props.setAttributes({lightbox:void 0,lightboxStyle:void 0,shadow:void 0})}componentDidUpdate(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1,captionFocused:!1}),!this.props.isSelected&&e.isSelected&&this.state.captionFocused&&this.setState({captionFocused:!1}),this.props.attributes.gutter<=0&&this.props.setAttributes({radius:0}),"xlrg"===this.props.attributes.gridSize&&void 0===e.attributes.align&&this.props.setAttributes({gutter:0,gutterMobile:0})}onSelectImage(e){return()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e,captionFocused:!1})}}onMove(e,t){const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:n})}onMoveForward(e){return()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)}}onMoveBackward(e){return()=>{0!==e&&this.onMove(e,e-1)}}onRemoveImage(e){return()=>{const t=Td()(this.props.attributes.images,(t,n)=>e!==n);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const n=this.props,a=n.attributes.images,r=n.setAttributes;a[e]&&r({images:[...a.slice(0,e),Cm({},a[e],{},t),...a.slice(e+1)]})}onItemClick(){this.props.isSelected||this.props.onSelect(),this.state.captionFocused&&this.setState({captionFocused:!1})}onEditSelectImages(e){this.props.setAttributes({images:e.map(e=>cm(e,this.props.attributes.images))})}render(){const e=this.props,t=e.attributes,n=t.images,a=t.numberofSlide,r=t.carouselSpeed,o=t.showsliderNextPrev,l=t.carouselNextIcon,s=t.showDots,c=t.navigationColor,u=t.gutterSpace,p=t.colorFilter,d=t.showOriginalOnHover,m=t.navigationSize,f=(t.enableAutoPlay,e.className),b=e.isSelected,g=(e.noticeUI,e.setAttributes),h=i()([f]),y=!!n.length,v=wp.element.createElement(Em,this.props);if(!y)return wp.element.createElement(ym,xm({},this.props,{label:Pm("Carousel","blockspare")}));var w="fas fa-angle-right",k="fas fa-angle-left";"fas fa-angle-right"===l?(w=wp.element.createElement(qm,null),k=wp.element.createElement(Vm,null)):"fas fa-chevron-circle-right"===l?(w=wp.element.createElement(Jm,null),k=wp.element.createElement($m,null)):"fas fa-caret-right"===l?(w=wp.element.createElement(Km,null),k=wp.element.createElement(Xm,null)):"fas fa-chevron-right"===l?(w=wp.element.createElement(Zm,null),k=wp.element.createElement(Qm,null)):"fas fa-arrow-circle-right"===l?(w=wp.element.createElement(tf,null),k=wp.element.createElement(ef,null)):(w="fas fa-angle-right",k="fas fa-angle-left");const _={dots:s,loop:!0,speed:r,arrows:o,slidesToShow:a,nextArrow:w,prevArrow:k};return wp.element.createElement(jm,null,wp.element.createElement(Rm,null,y&&wp.element.createElement(jm,null,wp.element.createElement(Bd,Cm({setAttributes:g},this.props)),wp.element.createElement(Am,null,wp.element.createElement(Um,null,wp.element.createElement(Wm,{onSelect:this.onEditSelectImages,allowedTypes:um,multiple:!0,gallery:!0,value:n.map(e=>e.id),render:({open:e})=>wp.element.createElement(Hm,{className:"components-toolbar__control",label:Pm("Edit gallery","blockspare"),icon:"edit",onClick:e})}))))),v,wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-carousel-wrap","has-gutter-space-"+u,p,"blockspare-original"!==p&&d?"has-hover-effect":"",m)},wp.element.createElement("div",{className:"blockspare-carousel-items",style:{color:c}},wp.element.createElement(Hd.a,_,n.map((e,t)=>{const a=Ym(Pm("image %1$d of %2$d in gallery","blockspare"),t+1,n.length);return wp.element.createElement("div",{className:"blockspare-gallery-item",key:e.id||e.url,onClick:this.onItemClick},wp.element.createElement(nm,{url:e.url,alt:e.alt,id:e.id,marginRight:!0,marginLeft:!0,isSelected:b&&this.state.selectedImage===t,onRemove:this.onRemoveImage(t),onSelect:this.onSelectImage(t),setAttributes:e=>this.setImageAttributes(t,e),caption:e.caption,"aria-label":a,supportsCaption:!1,onMoveBackward:this.onMoveBackward(t),onMoveForward:this.onMoveForward(t),supportsMoving:!0,sizes:e.sizes,inspectorSize:"medium"}))}))))))}});function Vm(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:i()("slide-prev slick-arrow fas fa-angle-left"),onClick:t})}function qm(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:i()("slide-next slick-arrow fas fa-angle-right"),onClick:t})}function $m(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:i()("slide-prev slick-arrow fas fa-chevron-circle-left"),onClick:t})}function Jm(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:i()("slide-next slick-arrow fas fa-chevron-circle-right"),onClick:t})}function Xm(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:i()("slide-prev slick-arrow fas fa-caret-left"),onClick:t})}function Km(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:i()("slide-next slick-arrow fas fa-caret-right"),onClick:t})}function Qm(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:i()("slide-prev slick-arrow fas fa-chevron-left"),onClick:t})}function Zm(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:i()("slide-next slick-arrow fas fa-chevron-right"),onClick:t})}function ef(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:i()("slide-prev slick-arrow fas fa-arrow-circle-left"),onClick:t})}function tf(e){e.className,e.style;const t=e.onClick;return wp.element.createElement("span",{className:i()("slide-next slick-arrow fas fa-arrow-circle-right"),onClick:t})}const nf=wp.element.Component,af=wp.compose.compose;var rf=af(ut,lt(Tm))(class extends nf{render(){const e=this.props,t=e.attributes,n=t.images,a=t.numberofSlide,r=t.carouselSpeed,o=t.showsliderNextPrev,l=t.carouselNextIcon,s=t.showDots,c=t.navigationColor,u=t.gutterSpace,p=t.colorFilter,d=t.showOriginalOnHover,m=t.navigationSize,f=t.enableAutoPlay,b=e.className;let g=l,h=l.replace("-right","-left"),y={loop:!0,autoplay:f,slidesToShow:a,speed:r,arrows:o,dots:s};var v=JSON.stringify(y);const w=i()([b]);return wp.element.createElement("div",{className:w},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-carousel-wrap","has-gutter-space-"+u,p,m,"blockspare-original"!==p&&d?"has-hover-effect":"")},wp.element.createElement("div",{className:"blockspare-carousel-items","data-next":g,"data-prev":h,"data-slick":v,style:{color:c}},n.map((e,t)=>{let n="";return n=void 0===e.sizes.medium?e.url:e.sizes.medium.url,wp.element.createElement("div",{className:"blockspare-gallery-figure "},wp.element.createElement("img",{src:n}))}))))}});const of=wp.element.Component;class lf extends of{render(){const e=this.props,t=e.attributes,n=t.images,a=t.numberofSlide,r=t.carouselSpeed,o=t.showsliderNextPrev,l=t.carouselNextIcon,s=t.showDots,c=t.navigationColor,u=t.gutterSpace,p=t.colorFilter,d=t.showOriginalOnHover,m=t.navigationSize,f=t.enableAutoPlay,b=e.className;let g=l,h=l.replace("-right","-left"),y={loop:!0,autoplay:f,slidesToShow:a,speed:r,arrows:o,dots:s};var v=JSON.stringify(y);return wp.element.createElement("div",{className:i()(b,"blockspare-blocks blockspare-carousel-wrap","has-gutter-space-"+u,p,m,"blockspare-original"!==p&&d?"has-hover-effect":"")},wp.element.createElement("div",{className:"blockspare-carousel-items","data-next":g,"data-prev":h,"data-slick":v,style:{color:c}},n.map((e,t)=>{let n="";return n=void 0===e.sizes.medium?e.url:e.sizes.medium.url,wp.element.createElement("div",{className:"blockspare-gallery-figure "},wp.element.createElement("img",{src:n}))})))}}function sf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function cf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uf=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sf(Object(n),!0).forEach((function(t){cf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Sd.attributes),save:e=>wp.element.createElement(lf,e)}];const pf=blockspare_globals,df=Sd.name,mf=Sd.category,ff=Sd.attributes,bf=wp.i18n.__;(0,wp.blocks.registerBlockType)(df,{title:bf("BS Image Carousel","blockspare"),description:bf("Add logos, badges and images to build carousel.","blockspare"),category:mf,icon:r.imagecarousel,attributes:ff,keywords:[bf("block","blockspare"),bf("image","blockspare"),bf("carousel","blockspare"),bf("slider","blockspare"),bf("gallery","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{align:"full",images:[{url:pf.img},{url:pf.img},{url:pf.img}],showsliderNextPrev:!0,showDots:!0}},edit:Gm,save:rf,deprecated:uf});var gf=n(62),hf=(n(466),n(467),n(29));const yf=wp.i18n.__,vf=wp.element,wf=vf.Component,kf=(vf.Fragment,wp.blockEditor),_f=kf.InspectorControls,Sf=kf.PanelColorSettings,Ef=wp.components,Tf=Ef.PanelBody;Ef.SelectControl,Ef.RangeControl;class xf extends wf{render(){const e=this.props,t=e.attributes,n=t.percentageTextColor,a=t.textSize,r=t.barColor,o=(t.backgroundColor,t.barThickness,t.titleLoadGoogleFonts),i=t.titleFontFamily,l=t.titleFontWeight,s=t.titleFontSubset,c=t.titleFontSizeType,u=t.titleFontSizeMobile,p=t.titleFontSizeTablet,d=e.attributes,m=e.setAttributes;return wp.element.createElement(_f,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Tf,{title:yf("Block Settings"),initialOpen:!1},wp.element.createElement(ho,{label:yf("Title"),attributes:d,setAttributes:m,loadGoogleFonts:{value:o,label:yf("titleLoadGoogleFonts")},fontFamily:{value:i,label:yf("titleFontFamily")},fontWeight:{value:l,label:yf("titleFontWeight")},fontSubset:{value:s,label:yf("titleFontSubset")},fontSizeType:{value:c,label:yf("titleFontSizeType")},fontSize:{value:a,label:yf("textSize")},fontSizeMobile:{value:u,label:yf("titleFontSizeMobile")},fontSizeTablet:{value:p,label:yf("titleFontSizeTablet")},disableLineHeight:!0}),wp.element.createElement(Sf,{title:yf("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:r,onChange:e=>m({barColor:e}),label:yf("Bar Color","blockspare")},{value:n,onChange:e=>m({percentageTextColor:e}),label:yf("Percentage Texts Color","blockspare")}]}))))}}var Mf=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textSize,r=t.textColor,o=t.percentageTextColor,i=t.barColor,l=t.backgroundColor,s=t.titleFontFamily,c=t.titleFontWeight,u=t.titleFontSizeType,p=t.titleFontSizeMobile,d=t.titleFontSizeTablet,m=[];return m.push({".blockspare-title":{textAlign:n,color:r||"#404040",fontSize:a+u+"!important",fontFamily:s,fontWeight:"Default"!==s?c+"!important":""},".blockspare_progress-bar-label":{color:o||"#8b249c"},".blockspare-skillbar":{backgroundColor:l||"#8b249c"},".blockspare-skillbar-bar":{backgroundColor:i||"#2DB7F5"},tablet:{".blockspare-title":{fontSize:d+u+"!important"}},mobile:{".blockspare-title":{fontSize:p+u+"!important"}}}),dt.a.all(m)};class Cf extends gn.Component{constructor(e){super(e),this.state={indicator:0,isActive:!1}}componentDidMount(){setTimeout(()=>this.setState({indicator:this.props.percent,isActive:!0}),1e3)}componentWillReceiveProps(e){this.state.isActive&&this.props.percent!==e.percent&&this.setState({indicator:e.percent})}render(){const e=this.state,t=e.indicator,n=e.isActive,a=this.props,r=a.barColor,o=a.barThickness,i=a.percent,l=a.backgroundColor,s=a.percentageTextColor,c=`M ${o/2},${o/2} L ${100-o/2},${o/2}`;return wp.element.createElement("div",{className:"blockspare_progress-bar-container"},wp.element.createElement("div",{className:"blockspare_progress-bar-label",style:{visibility:n?"visible":"hidden",color:s||"#8b249c"}},i,"%"),wp.element.createElement("svg",{className:"blockspare_progress-bar-line",viewBox:"0 0 100 "+o,preserveAspectRatio:"none"},wp.element.createElement("path",{className:"blockspare_progress-bar-line-trail",d:c,strokeWidth:o,style:{stroke:l||"#8b249c"}}),wp.element.createElement("path",{className:"blockspare_progress-bar-line-path",d:c,stroke:r||"#2DB7F5",strokeWidth:o,style:{strokeDashoffset:100-t+"px"}})))}}function Lf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Of(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Df=wp.element,jf=Df.Component,Ff=Df.Fragment,Pf=wp.i18n.__,Yf=wp.compose.compose,Nf=wp.blockEditor,zf=Nf.BlockControls,Bf=Nf.RichText,Af=Nf.AlignmentToolbar,Hf=wp.components,If=Hf.Toolbar,Rf=Hf.RangeControl;var Wf=Yf(ut,lt(Mf))(class extends jf{render(){const e=this.props,t=e.attributes,n=t.title,a=(t.textSize,t.textColor,t.percentageTextColor),r=t.percentage,o=t.barColor,l=t.barThickness,s=t.backgroundColor,c=t.sectionAlignment,u=t.titleLoadGoogleFonts,p=t.titleFontFamily,d=t.titleFontWeight,m=e.className,f=e.setAttributes;let b;if(1==u){const e={google:{families:[p+(d?":"+d:"")]}};b=wp.element.createElement(Io,{config:e})}const g=i()([m,"blockspare-progressbar-wrap"]);return wp.element.createElement(Ff,null,wp.element.createElement(xf,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lf(Object(n),!0).forEach((function(t){Of(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:f},this.props)),wp.element.createElement(zf,null,wp.element.createElement(Af,{value:c,onChange:e=>{f({sectionAlignment:e})}}),wp.element.createElement(If,null,wp.element.createElement(Rf,{className:"blockspare_progress_bar_value",value:r,onChange:e=>f({percentage:e}),min:0,max:100}))),wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement(Bf,{tagName:"div",placeholder:Pf("Title","blockspare"),keepPlaceholderOnFocus:!0,value:n,className:i()("blockspare-title","blockspare-progress-title"),onChange:e=>f({title:e})}),wp.element.createElement(Cf,{percent:r,barColor:o,barThickness:l,backgroundColor:s,percentageTextColor:a})),b)}});const Uf=wp.element.Component,Gf=wp.compose.compose,Vf=wp.blockEditor.RichText;var qf=Gf(ut,lt(Mf))(class extends Uf{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.title,a=t.percentage,r=t.barThickness,o=(t.sectionAlignment,e.className),l=i()([o,"blockspare-progressbar-wrap"]);return wp.element.createElement("div",{className:l},this.props.styles,wp.element.createElement("div",{className:"blockspare_progress-bar-container"},wp.element.createElement(Vf.Content,{tagName:"div",className:i()("blockspare-title","blockspare-progress-title"),value:n}),wp.element.createElement("div",{className:"blockspare-skillbar-item","data-percent":a},wp.element.createElement("div",{className:"blockspare_progress-bar-label"},a,"%"),wp.element.createElement("div",{className:i()("blockspare-skillbar","barthickness-"+r)},wp.element.createElement("div",{className:"blockspare-skillbar-bar"})))))}});function $f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Jf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Xf=wp.blockEditor.RichText;var Kf=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$f(Object(n),!0).forEach((function(t){Jf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},hf.attributes),save:function(e){const t=e.attributes,n=(t.blockID,t.title),a=t.textSize,r=t.textColor,o=t.percentageTextColor,l=t.percentage,s=t.barColor,c=t.backgroundColor,u=t.barThickness,p=t.sectionAlignment,d={backgroundColor:s||"#2DB7F5"};return wp.element.createElement("div",{className:"blockspare_progress-bar-container"},wp.element.createElement(Xf.Content,{tagName:"div",value:n,style:{textAlign:p,color:r||"#404040",fontSize:a+"px"}}),wp.element.createElement("div",{className:"blockspare-skillbar-item","data-percent":l},wp.element.createElement("div",{className:"blockspare_progress-bar-label",style:{color:o||"#8b249c"}},l,"%"),wp.element.createElement("div",{className:i()("blockspare-skillbar","barthickness-"+u),style:{backgroundColor:c||"#8b249c"}},wp.element.createElement("div",{className:"blockspare-skillbar-bar",style:d}))))}}];const Qf=hf.name,Zf=hf.attributes,eb=hf.category,tb=wp.i18n.__,nb=wp.blocks.registerBlockType,ab={title:tb("progress","blockspare"),description:tb("Display multiple linear progressbar.","blockspare"),parent:["blockspare/linearprogressbar"],icon:"link",category:eb,supports:{html:!1,inserter:!1,reusable:!1},attributes:Zf,edit:Wf,save:qf,deprecated:Kf};nb(Qf,ab);const rb=wp.element,ob=rb.Component,ib=rb.Fragment,lb=(wp.i18n.__,wp.compose.compose),sb=(wp.components.IconButton,wp.blockEditor.InnerBlocks),cb=wp.blocks.createBlock,ub=wp.data,pb=ub.withSelect,db=ub.withDispatch;var mb=lb([pb((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,o=a.isBlockSelected,i=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:o(n)||i(n,!0)}}),db(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends ob{constructor(...e){var t,n,a;super(...e),a=e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++){const n="Create stylish Linear progressbar.";t.push(["blockspare/blockspare-skillbar",{itemNumber:e,defaultText:n}])}return t},(n="getProgressbarTemplate")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertProgressbarItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=ab.title;e=Object.assign({},{},{itemNumber:t,title1:n,active:!1,defaultText:""})}else e=ab;a(cb("blockspare/blockspare-skillbar",e),void 0,n)}render(){const e=this.props,t=(e.name,e.attributes),n=(e.isSelectedBlockInRoot,e.setAttributes,e.attributes.uniqueId);return wp.element.createElement(ib,null,wp.element.createElement("div",{className:"blockspare-block-progress-bar blockspare-block-"+n},wp.element.createElement(sb,{template:this.getProgressbarTemplate(t),allowedBlocks:["blockspare/blockspare-skillbar"]})))}});const fb=wp.element.Component,bb=wp.blockEditor.InnerBlocks;var gb=class extends fb{render(){const e=this.props.attributes,t=(e.animation,e.uniqueId),n=(e.itemToggle,e.interaction,"blockspare-block-progress-bar blockspare-block-interaction blockspare-block-"+t);return wp.element.createElement("div",{className:n},wp.element.createElement(bb.Content,null))}};const hb=gf.name,yb=gf.category,vb=gf.attributes,wb=wp.i18n.__;(0,wp.blocks.registerBlockType)(hb,{title:wb("BS Progressbar","blockspare"),description:wb("Display creative Linear Progressbar.","blockspare"),category:yb,icon:r.progressBar,attributes:vb,keywords:[wb("block","blockspare"),wb("progress","blockspare"),wb("bar","blockspare"),wb("number","blockspare"),wb("counter","blockspare")],supports:{html:!1,className:!1},example:{attributes:{}},edit:mb,save:gb});n(468),n(469);var kb=n(63),_b=["blockspare-list-check","blockspare-list-check-square","blockspare-list-check-square-outline","blockspare-list-check-double","blockspare-list-check-circle","blockspare-list-check-circle-outline","blockspare-list-square","blockspare-list-square-outline"];const Sb=wp.i18n.__,Eb=wp.element,Tb=Eb.Component,xb=Eb.Fragment;var Mb=class extends Tb{constructor(e){super(e),this.state={isOpen:!1,filterText:"",showIcons:!1}}render(){const e=this.props,t=e.value,n=e.disableToggle,a=e.colorSettings,r=e.iconColor,o=e.onColorChange,i=this.state.filterText;var l=[];return i.length>2?_b.forEach(e=>{e.includes(i)&&l.push(e)}):l=_b,wp.element.createElement("div",{className:"blockspare-field blockspare-field-icon-list "+(n?"":"blockspare-toggle-enabled")},this.props.label&&wp.element.createElement(xb,null,n?wp.element.createElement("label",null,this.props.label):wp.element.createElement(Toggle,{label:this.props.label,className:"blockspare-icon-list-toggle",value:!!this.props.value,onChange:()=>this.props.onChange(this.props.value?"":" ")})),a&&wp.element.createElement(Color,{label:Sb(" Color"),value:r||"#ccc",onChange:e=>o(e)}),(n||""!=this.props.value)&&wp.element.createElement("div",{className:"blockspare-icon-list-wrapper"},wp.element.createElement("input",{type:"text",value:this.state.filterText,placeholder:"Search...",onChange:e=>this.setState({filterText:e.target.value}),autoComplete:"off"}),wp.element.createElement("div",{className:"blockspare-icon-list-icons"},l.map(e=>wp.element.createElement("span",{className:t==e?"blockspare-active":"",onClick:t=>{this.props.onChange(e)}},wp.element.createElement("span",{className:e}))))))}};const Cb=wp.i18n.__,Lb=wp.element.Fragment,Ob=wp.blockEditor,Db=(Ob.InspectorControls,Ob.PanelColorSettings),jb=wp.components;jb.PanelBody,jb.SelectControl,jb.RangeControl;function Fb(e){const t=e.name,n=e.onChangeName,a=void 0===n?()=>{}:n,r=e.listType,o=(e.onChangeListStyle,e.orderListStyle,e.onChangeOrderListStyle,e.color),i=e.onchangeColor,l=void 0===i?()=>{}:i;Cb("List With icon","blockspare"),Cb("Ordered List","blockspare"),Cb("None","blockspare"),Cb("Style1","blockspare"),Cb("Style2","blockspare"),Cb("Style3","blockspare");return wp.element.createElement(Lb,null,"ul"==r&&wp.element.createElement(Mb,{value:t,onChange:a}),wp.element.createElement(Db,{title:Cb("Color","blockspare"),initialOpen:!1,colorSettings:[{value:o,onChange:l,label:Cb("Icon Color","blockspare")}]}))}const Pb=wp.i18n.__,Yb=wp.element,Nb=Yb.Component,zb=(Yb.Fragment,wp.blockEditor),Bb=zb.InspectorControls,Ab=(zb.PanelColorSettings,wp.components),Hb=Ab.PanelBody;Ab.ToggleControl,Ab.RangeControl;class Ib extends Nb{render(){const e=this.props,t=e.attributes,n=t.name,a=t.listType,r=t.orderListStyle,o=t.color,i=(t.listBackGroundColor,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.borderRadius,t.marginTop),l=t.marginBottom,s=t.descriptionFontSize,c=t.descriptionFontFamily,u=t.descriptionFontWeight,p=t.descriptionFontSubset,d=t.descriptionFontSizeType,m=t.descriptionFontSizeMobile,f=t.descriptionFontSizeTablet,b=t.descriptionLoadGoogleFonts,g=e.attributes,h=e.setAttributes;return wp.element.createElement(Bb,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Hb,{title:Pb("Typography Settings","blockspare")},wp.element.createElement(ho,{label:Pb("Description Fonts Settings"),attributes:g,setAttributes:h,loadGoogleFonts:{value:b,label:Pb("descriptionLoadGoogleFonts")},fontFamily:{value:c,label:Pb("descriptionFontFamily")},fontWeight:{value:u,label:Pb("descriptionFontWeight")},fontSubset:{value:p,label:Pb("descriptionFontSubset")},fontSizeType:{value:d,label:Pb("descriptionFontSizeType")},fontSize:{value:s,label:Pb("descriptionFontSize")},fontSizeMobile:{value:m,label:Pb("descriptionFontSizeMobile")},fontSizeTablet:{value:f,label:Pb("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(Hb,{title:Pb("Icon Settings"),initialOpen:!1},wp.element.createElement(Fb,{name:n,onChangeName:e=>h({name:e}),listType:a,onChangeListStyle:e=>h({listType:e}),orderListStyle:r,onChangeOrderListStyle:e=>h({orderListStyle:e}),color:o,onchangeColor:e=>h({color:e})})),wp.element.createElement(Hb,{title:Pb("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:i,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>h({marginTop:e}),marginEnableBottom:!0,marginBottom:l,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>h({marginBottom:e})}))))}}function Rb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Wb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rb(Object(n),!0).forEach((function(t){Ub(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ub(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gb=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.listBackGroundColor,r=t.borderRadius,o=t.color,i=t.descriptionFontSize,l=t.descriptionFontFamily,s=t.descriptionFontWeight,c=(t.descriptionFontSubset,t.descriptionFontSizeType),u=t.descriptionFontSizeMobile,p=t.descriptionFontSizeTablet,d=t.marginTop,m=t.marginBottom,f=[];let b;return b=16===i?i-2:i,f.push({".blockspare-list-wrap":Wb({backgroundColor:a,borderRadius:r+"px",paddingTop:a?"20px":"",paddingBottom:a?"20px":"",paddingLeft:a?"20px":"",paddingRight:a?"20px":""},Jo(e.attributes),{marginTop:d?d+"px":void 0,marginBottom:m?m+"px":void 0}),".listDescription li":{color:o||"#000",textAlign:n,fontSize:i+c,fontFamily:l+"!important",fontWeight:s+"!important"},".listDescription li:before":{fontSize:b+c},tablet:{".listDescription li, .listDescription li:before ":{fontSize:p+c}},mobile:{".listDescription li, .listDescription li:before":{fontSize:u+c}}}),dt.a.all(f)};function Vb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function qb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $b=wp.element,Jb=$b.Component,Xb=$b.Fragment,Kb=(wp.i18n.__,wp.compose.compose),Qb=wp.blockEditor.RichText,Zb=wp.blockEditor,eg=Zb.AlignmentToolbar,tg=Zb.BlockControls;var ng=Kb(ut,lt(Gb))(class extends Jb{render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.listData,r=t.name,o=t.listType,l=t.orderListStyle,s=t.descriptionLoadGoogleFonts,c=t.descriptionFontFamily,u=t.descriptionFontWeight,p=e.className,d=(e.attributes,e.setAttributes);let m,f="";if(f="ul"==o?r:"ol"==o?l:"",1==s){const e={google:{families:[c+(u?":"+u:"")]}};m=wp.element.createElement(Io,{config:e})}const b=i()([p,"blockspare-block-iconlist-wrap"]);return wp.element.createElement(Xb,null,wp.element.createElement(Ib,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vb(Object(n),!0).forEach((function(t){qb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:d},this.props)),wp.element.createElement(tg,null,wp.element.createElement(eg,{value:n,onChange:e=>{d({sectionAlignment:e})}})),wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(Qb,{tagName:"none"==o?"ul":o,multiline:"li",itemProp:"description",keepPlaceholderOnFocus:!0,value:a,onChange:e=>d({listData:e}),className:i()(f,"listDescription")}))),m)}});const ag=wp.element.Component,rg=wp.compose.compose,og=wp.blockEditor.RichText;var ig=rg(ut,lt(Gb))(class extends ag{render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.listData),a=t.name,r=t.listType,o=t.orderListStyle,l=(t.color,t.listBackGroundColor,t.borderRadius,e.className);e.attributes;let s="";s="ul"==r?a:"ol"==r?o:"";const c=i()([l,"blockspare-block-iconlist-wrap"]);return wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(og.Content,{tagName:"none"==r?"ul":r,multiline:"li",value:n,className:i()(s,"listDescription")})))}}),lg=n(95);function sg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function cg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sg(Object(n),!0).forEach((function(t){ug(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ug(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pg=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.listBackGroundColor,r=t.borderRadius,o=t.color,i=t.descriptionFontSize,l=t.descriptionFontFamily,s=t.descriptionFontWeight,c=(t.descriptionFontSubset,t.descriptionFontSizeType),u=t.descriptionFontSizeMobile,p=t.descriptionFontSizeTablet,d=[];return d.push({".blockspare-list-wrap":cg({backgroundColor:a,borderRadius:r+"px",paddingTop:a?"20px":"",paddingBottom:a?"20px":"",paddingLeft:a?"20px":"",paddingRight:a?"20px":""},Jo(e.attributes)),".listDescription li":{color:o||"#000",textAlign:n,fontSize:i+c,fontFamily:l+"!important",fontWeight:s+"!important"},".listDescription li:before":{fontSize:i+c},tablet:{".listDescription li":{fontSize:p+c},".listDescription li:before":{fontSize:i+c}},mobile:{".listDescription li":{fontSize:u+c},".listDescription li:before":{fontSize:i+c}}}),dt.a.all(d)};const dg=wp.element.Component,mg=wp.compose.compose,fg=wp.blockEditor.RichText;var bg=mg(ut,lt(pg))(class extends dg{render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.listData),a=t.name,r=t.listType,o=t.orderListStyle,l=(t.color,t.listBackGroundColor,t.borderRadius,e.className);e.attributes;let s="";s="ul"==r?a:"ol"==r?o:"";const c=i()([l,"blockspare-block-iconlist-wrap"]);return wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(fg.Content,{tagName:"none"==r?"ul":r,multiline:"li",value:n,className:i()(s,"listDescription")})))}});function gg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function hg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gg(Object(n),!0).forEach((function(t){yg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const vg=wp.blockEditor.RichText;var wg=[{attributes:hg({},lg.attributes,{},an),save:function(e){const t=e.attributes,n=t.sectionAlignment,a=t.listData,r=t.name,o=t.listType,l=t.orderListStyle,s=t.color,c=t.listBackGroundColor,u=t.borderRadius;let p="";return p="ul"==o?r:"ol"==o?l:"",wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-list-wrap"),style:hg({backgroundColor:c,borderRadius:u+"px",paddingTop:c?"20px":"",paddingBottom:c?"20px":"",paddingLeft:c?"20px":"",paddingRight:c?"20px":""},Jo(e.attributes))},wp.element.createElement(vg.Content,{tagName:"none"==o?"ul":o,multiline:"li",value:a,className:p,style:{color:s||"#000",textAlign:n}}))}},{attributes:hg({},lg.attributes,{},an),save:e=>wp.element.createElement(bg,e)}];function kg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Sg=kb.name,Eg=kb.category,Tg=wp.i18n.__,xg=wp.blocks.registerBlockType,Mg=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kg(Object(n),!0).forEach((function(t){_g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},kb.attributes,{},an);xg(Sg,{title:Tg("BS Icon List","blockspare"),description:Tg("Icon List allow you to add list with various type of icons","blockspare"),category:Eg,icon:r.iconlist,attributes:Mg,keywords:[Tg("block","blockspare"),Tg("list","blockspare"),Tg("icon","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{listData:"<li>Vestibulum ac diam sit amet</li> <li>Vestibulum ac diam sit amet</li> <li>Vestibulum ac diam sit amet</li>",name:"blockspare-list-check",sectionAlignment:"center"}},edit:ng,save:ig,deprecated:wg});n(470),n(471);var Cg=n(64);function Lg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Og(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lg(Object(n),!0).forEach((function(t){Dg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const jg=wp.i18n.__,Fg=wp.element,Pg=Fg.Component,Yg=Fg.Fragment;wp.components.ResizableBox,wp.keycodes.BACKSPACE;var Ng=class extends Pg{constructor(){super(...arguments),this.onRemoveImage=this.onRemoveImage.bind(this),this.onSelectImage=this.onSelectImage.bind(this),this.onMoveForward=this.onMoveForward.bind(this),this.onMoveBackward=this.onMoveBackward.bind(this),this.setImageAttributes=this.setImageAttributes.bind(this),this.onEditSelectImages=this.onEditSelectImages.bind(this),this.state={selectedImage:null}}componentDidMount(){"xlrg"===this.props.attributes.gridSize&&this.props.setAttributes({align:"wide",gridSize:"lrg"})}componentDidUpdate(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}onSelectImage(e){return()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})}}onMove(e,t){const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:n})}onMoveForward(e){return()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)}}onMoveBackward(e){return()=>{0!==e&&this.onMove(e,e-1)}}onRemoveImage(e){return()=>{const t=Td()(this.props.attributes.images,(t,n)=>e!==n);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const n=this.props,a=n.attributes.images,r=n.setAttributes;a[e]&&r({images:[...a.slice(0,e),Og({},a[e],{},t),...a.slice(e+1)]})}onEditSelectImages(e){this.props.setAttributes({images:e.map(e=>cm(e,this.props.attributes.images))})}render(){let e;switch(this.props.attributes.align){case"wide":e=4;break;case"full":e=5;break;default:e=3}this.props.attributes;const t=this.props,n=t.isSelected,a=t.captions,r=t.images,o=t.linkTo;return wp.element.createElement(Yg,null,wp.element.createElement("ul",{className:"blockspare-logo-wrap"},r.map((e,t)=>{const i=sprintf(jg("image %1$d of %2$d in gallery","blockspare"),t+1,r.length);return wp.element.createElement("li",{className:"blockspare-gallery-item",key:e.id||e.url},wp.element.createElement(nm,{url:e.url,alt:e.alt,id:e.id,imgLink:e.imgLink,linkTo:o,isFirstItem:0===t,isLastItem:t+1===r.length,isSelected:n&&this.state.selectedImage===t,onSelect:this.onSelectImage(t),onMoveBackward:this.onMoveBackward(t),onMoveForward:this.onMoveForward(t),onRemove:this.onRemoveImage(t),setAttributes:e=>this.setImageAttributes(t,e),caption:e.caption,"aria-label":i,captions:a,supportsCaption:!0}))})))}};function zg(){return(zg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const Bg=wp.element,Ag=Bg.Component,Hg=Bg.Fragment,Ig=wp.i18n.__,Rg=wp.compose.compose,Wg=wp.components.withNotices,Ug=wp.blockEditor,Gg=Ug.MediaPlaceholder,Vg=Ug.BlockIcon;var qg=Rg([Wg])(class extends Ag{constructor(){super(...arguments),this.onSelectImages=this.onSelectImages.bind(this)}onSelectImages(e){this.props.setAttributes({images:e.map(e=>cm(e))})}render(){const e=this.props,t=e.className,n=e.noticeOperations,a=e.attributes,o=e.noticeUI,l=e.isSelected,s=a.images,c=a.grayscale,u=!!s.length;i()(t,{"has-filter-grayscale":c});return wp.element.createElement(Hg,null,wp.element.createElement(Em,this.props),wp.element.createElement("div",{className:"blockspare-blocks blockspare-logos-wrapper"},wp.element.createElement(Ng,zg({},this.props,{images:s})),(!u||l)&&wp.element.createElement(Gg,{addToGallery:u,isAppender:u,icon:wp.element.createElement(Vg,{icon:r.edit}),labels:{title:Ig("Logos Grid","blockspare"),instructions:Ig("Upload an image file, pick one from your media library, or add one with a URL","blockspare")},multiple:!0,accept:"image/*",allowedTypes:["image"],value:u?s:void 0,onError:n.createErrorNotice,notices:o,onSelect:this.onSelectImages,className:i()({"is-appender":u})})))}});const $g=wp.blockEditor.RichText;var Jg=({attributes:e,className:t})=>{const n=e.captions,a=e.images,r=e.linkTo,o=e.rel,i=e.target;return wp.element.createElement("div",{className:"blockspare-blocks blockspare-logos-wrapper"},wp.element.createElement("ul",{className:"blockspare-logo-wrap"},a.map(e=>{let t;switch(r){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const a=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return wp.element.createElement("li",{key:e.id||e.url,className:"blockspare-gallery-item"},wp.element.createElement("figure",{className:"blockspare-gallery-figure"},t?wp.element.createElement("a",{href:t,target:i,rel:o},a):a,n&&e.caption&&e.caption.length>0&&wp.element.createElement($g.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:e.caption})))})))};const Xg=blockspare_globals,Kg=Cg.name,Qg=Cg.category,Zg=Cg.attributes,eh=wp.i18n.__;(0,wp.blocks.registerBlockType)(Kg,{title:eh("BS Logo Grid","blockspare"),description:eh("Add logos, badges, or certifications to build credibility.","blockspare"),category:Qg,icon:r.logobadge,attributes:Zg,keywords:[eh("block","blockspare"),eh("logo","blockspare"),eh("brand","blockspare"),eh("clients","blockspare"),eh("grid","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{align:"full",images:[{url:Xg.img,width:420},{url:Xg.img,width:420},{url:Xg.img,width:420},{url:Xg.img,width:420}]}},edit:qg,save:Jg});n(472);var th=n(55),nh=n.n(th),ah=n(56),rh=n.n(ah),oh=n(1),ih=n.n(oh);function lh(){return(lh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const sh=wp.hooks,ch=(sh.addFilter,sh.applyFilters),uh=wp.i18n.__,ph=wp.element,dh=ph.Component,mh=(ph.Fragment,wp.blockEditor),fh=mh.InspectorControls,bh=mh.PanelColorSettings,gh=wp.components,hh=gh.PanelBody,yh=gh.QueryControls,vh=gh.RangeControl,wh=(gh.SelectControl,gh.TextControl,gh.ToggleControl),kh=wp.url.addQueryArgs,_h=wp.apiFetch;class Sh extends dh{constructor(){super(...arguments),this.state={categoriesList:[]}}componentDidMount(){this.stillMounted=!0,this.fetchRequest=_h({path:kh("/wp/v2/categories",{per_page:-1})}).then(e=>{this.stillMounted&&this.setState({categoriesList:e})}).catch(()=>{this.stillMounted&&this.setState({categoriesList:[]})})}componentWillUnmount(){this.stillMounted=!1}imageSizeSelect(){const e=wp.data.select("core/editor").getEditorSettings();return Md()(mn()(e.imageSizes,({name:e,slug:t})=>({value:t,label:e})))}render(){const e=this.props,t=e.attributes,n=t.columns,a=t.postType,r=t.backGroundColor,o=t.design,i=void 0===o?"blockspare-grid-layout-1":o,l=(t.displayPostTitle,t.displayPostCategory),s=t.displayPostAuthor,c=t.displayPostDate,u=(t.displayPostExcerpt,t.displayPostLink,t.excerptLength,t.readMoreText,t.postsToShow,t.enableBackgroundColor,t.marginTop),p=t.marginBottom,d=(t.imageSize,t.order),m=t.orderBy,f=t.categories,b=(t.offset,t.contentOrder,t.equalImageHeight,t.postTitleColor),g=t.postTitleFontSize,h=t.linkColor,y=t.generalColor,v=(t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.borderRadius,t.titleLoadGoogleFonts),w=t.titleFontFamily,k=t.titleFontWeight,_=t.titleFontSubset,S=t.titleFontSizeType,E=t.titleFontSizeMobile,T=t.titleFontSizeTablet,x=e.attributes,M=e.setAttributes,C=e.latestPosts,L=this.state.categoriesList,O=(uh("Default","blockspare"),uh("Meta → Title → Category → Content","blockspare"),uh("Title → Meta → Category → Content","blockspare"),uh("Title → Category → Meta → Content","blockspare"),Array.isArray(C)&&C.length),D="post"===a;this.imageSizeSelect();return wp.element.createElement(fh,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Ul,{initialOpen:!1,selected:i,options:ch("blockspare.cta.edit.layouts",[{label:uh("Style 1","blockspare"),value:"blockspare-grid-layout-1",image:"images/blockspare-grid-layout-1.png"},{label:uh("Style 2","blockspare"),value:"blockspare-grid-layout-2",image:"images/blockspare-grid-layout-2.png"},{label:uh("Style 3","blockspare"),value:"blockspare-grid-layout-3",image:"images/blockspare-grid-layout-3.png"}]),onChange:e=>M({design:e})}),wp.element.createElement(hh,{title:uh("Block Settings","blockspare"),className:D?null:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(vh,{label:uh("Columns","blockspare"),value:n,onChange:e=>M({columns:e}),min:1,max:O?Math.min(3,C.length):3}),wp.element.createElement(bh,{title:uh("Title Color","blockspare"),initialOpen:!0,colorSettings:[{value:b,onChange:e=>M({postTitleColor:e}),label:uh("Title Color","blockspare")}]}),wp.element.createElement(ho,{label:uh("Title Fonts Settings"),attributes:x,setAttributes:M,loadGoogleFonts:{value:v,label:uh("titleLoadGoogleFonts")},fontFamily:{value:w,label:uh("titleFontFamily")},fontWeight:{value:k,label:uh("titleFontWeight")},fontSubset:{value:_,label:uh("titleFontSubset")},fontSizeType:{value:S,label:uh("titleFontSizeType")},fontSize:{value:g,label:uh("postTitleFontSize")},fontSizeMobile:{value:E,label:uh("titleFontSizeMobile")},fontSizeTablet:{value:T,label:uh("titleFontSizeTablet")},disableLineHeight:!0}),D&&wp.element.createElement(wh,{label:uh("Display Category","blockspare"),checked:l,onChange:()=>this.props.setAttributes({displayPostCategory:!l})}),D&&wp.element.createElement(wh,{label:uh("Display Author","blockspare"),checked:s,onChange:()=>this.props.setAttributes({displayPostAuthor:!s})}),D&&wp.element.createElement(wh,{label:uh("Display Date","blockspare"),checked:c,onChange:()=>this.props.setAttributes({displayPostDate:!c})}),"blockspare-grid-layout-4"!=i&&"blockspare-grid-layout-5"!=i&&"blockspare-grid-layout-6"!=i&&wp.element.createElement(bh,{title:uh("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:r,onChange:e=>M({backGroundColor:e}),label:uh("Background Color","blockspare")}]}),wp.element.createElement(bh,{title:uh(" Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:h,onChange:e=>M({linkColor:e}),label:uh("Link Color","blockspare")},{value:y,onChange:e=>M({generalColor:e}),label:uh("General Color","blockspare")}]})),wp.element.createElement(hh,{title:uh("Post Settings","blockspare"),className:D?null:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(yh,lh({order:d,orderBy:m},{categoriesList:L,selectedCategoryId:f,onCategoryChange:e=>M({categories:""!==e?e:void 0}),onOrderChange:e=>M({order:e}),onOrderByChange:e=>M({orderBy:e})}))),wp.element.createElement(hh,{title:uh("Block Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:u,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>M({marginTop:e}),marginEnableBottom:!0,marginBottom:p,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>M({marginBottom:e})}))))}}var Eh=e=>{let t="";return t={border:e.borderColor,backgroundColor:e.backGroundColor?e.backGroundColor:void 0,boxShadow:e.enableBoxShadow?e.xOffset+"px "+e.yOffset+"px "+e.blur+"px "+e.spread+"px "+e.shadowColor:"",borderRadius:e.borderRadius?e.borderRadius:null},t};function Th(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function xh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Th(Object(n),!0).forEach((function(t){Mh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Th(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ch=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=t.linkColor,o=t.postTitleColor,i=t.generalColor,l=t.design,s=t.postTitleFontSize,c=t.titleFontFamily,u=t.titleFontWeight,p=(t.titleFontSubset,t.titleFontSizeType),d=t.titleFontSizeMobile,m=t.titleFontSizeTablet,f=[];return f.push({".blockspare-post-wrap":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0},".blockspare-post-category":{color:r||"#1977ac"},".blockspare-block-post-grid-author a span":{color:r||"#1977ac"},".blockspare-text-link a":{color:r||"#1977ac"},".blockspare-block-post-grid-title a span":{color:o?o+"!important":"#404040",fontSize:s+p,fontFamily:c,fontWeight:u},".blockspare-block-post-grid-date, .blockspare-block-post-grid-excerpt":{color:i||"#000"},tablet:{".blockspare-block-post-grid-title a span":{fontSize:m+p}},mobile:{".blockspare-block-post-grid-title a span":{fontSize:d+p}}}),"blockspare-list-layout-6"!=l&&"blockspare-list-layout-5"!=l&&"blockspare-list-layout-4"!=l&&f.push({".blockspare-post-single":xh({},Eh(e.attributes))}),dt.a.all(f)};function Lh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Oh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lh(Object(n),!0).forEach((function(t){Dh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const jh=wp.element,Fh=jh.Component,Ph=jh.Fragment,Yh=wp.i18n.__,Nh=wp.compose.compose,zh=wp.htmlEntities.decodeEntities,Bh=wp.data.withSelect,Ah=wp.components,Hh=Ah.Placeholder,Ih=Ah.Spinner;var Rh=Nh([Bh((e,t)=>{const n=t.attributes,a=n.order,r=n.categories,o=e("core").getEntityRecords,i=rh()({categories:r,order:a,orderby:t.attributes.orderBy,per_page:t.attributes.postsToShow,offset:t.attributes.offset},e=>!nh()(e));return{latestPosts:o("postType",t.attributes.postType,i)}}),ut,lt(Ch)])(class extends Fh{render(){const e=this.props,t=e.attributes,n=(t.align,t.columns),a=t.postType,r=t.backGroundColor,o=t.design,l=t.displayPostTitle,s=t.displayPostCategory,c=t.displayPostAuthor,u=t.displayPostDate,p=t.displayPostExcerpt,d=t.displayPostLink,m=t.excerptLength,f=t.readMoreText,b=t.postsToShow,g=t.enableBackgroundColor,h=(t.marginTop,t.marginBottom,t.imageSize),y=void 0===h?"medium":h,v=t.contentOrder,w=(t.borderColor,t.sectionTag),k=t.equalImageHeight,_=(t.postTitleColor,t.postTitleFontSize,t.linkColor,t.generalColor,t.borderRadius,t.titleLoadGoogleFonts),S=t.titleFontFamily,E=t.titleFontWeight,T=e.className,x=(e.attributes,e.setAttributes),M=e.latestPosts;let C;if(1==_){const e={google:{families:[S+(E?":"+E:"")]}};C=wp.element.createElement(Io,{config:e})}const L=Array.isArray(M)&&M.length,O="post"===a;if(!L)return wp.element.createElement(Ph,null,wp.element.createElement(Sh,Oh({setAttributes:x},this.props)),wp.element.createElement(Hh,{icon:"admin-post",label:Yh("BS Blocks Posts Grid","blockspare")},Array.isArray(M)?Yh("No posts found.","blockspare"):wp.element.createElement(Ih,null)));const D=M.length>b?M.slice(0,b):M,j=w||"section",F=i()([T,"blockspare-latestpost-grid"]);return wp.element.createElement(Ph,null,wp.element.createElement(Sh,Oh({setAttributes:x},this.props)),wp.element.createElement("div",{className:F},this.props.styles,wp.element.createElement(j,{className:i()(T,"blockspare-post-wrap")},wp.element.createElement("div",{className:i()("blockspare-latest-post-wrap",o,"blockspare-is-grid","column-"+n)},D.map((e,t)=>{const n=(e.featured_image_urls&&e.featured_image_urls[y||"large"]||[])[0];return wp.element.createElement("div",{className:i()("blockspare-post-single",n?"":"post-has-no-image",k?"has-img-equal-height":"","blockspare-grid-layout-4"!=o&&"blockspare-grid-layout-5"!=o&&"blockspare-grid-layout-6"!=o?"has-background":"")},n&&wp.element.createElement("figure",{className:"blockspare-post-img"},wp.element.createElement("a",null,wp.element.createElement("img",{src:n,alt:Yh("featured","blockspare")}))),wp.element.createElement("div",{className:i()("blockspare-post-content",v)},wp.element.createElement("div",{className:"blockspare-bg-overlay",style:{backgroundColor:g?r:""}}),wp.element.createElement("div",{className:"blockspare-block-post-grid-header"},s&&wp.element.createElement("div",{className:"blockspare-post-category",dangerouslySetInnerHTML:{__html:e.category_info.replace(/href=['"].*?['"]/g,"")}}),l&&wp.element.createElement("h4",{className:"blockspare-block-post-grid-title"},wp.element.createElement("a",{target:"_blank",className:"blockspare-title-link",rel:"bookmark"},wp.element.createElement("span",null,zh(e.title.rendered.trim())||Yh("(Untitled)","blockspare")))),O&&(c||u)&&wp.element.createElement("div",{className:"blockspare-block-post-grid-byline"},c&&e.author_info.display_name&&wp.element.createElement("div",{className:"blockspare-block-post-grid-author"},wp.element.createElement("a",{className:"blockspare-text-link",target:"_blank",href:e.author_info.author_link},wp.element.createElement("span",null,e.author_info.display_name))),u&&e.date_gmt&&wp.element.createElement("time",{dateTime:ih()(e.date_gmt).utc().format(),className:"blockspare-block-post-grid-date"},ih()(e.date_gmt).local().format("MMMM DD, Y","blockspare")))),(p||d)&&wp.element.createElement("div",{className:"blockspare-block-post-grid-excerpt"},p&&e.excerpt&&wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:(a=e.excerpt.rendered,b=m,a.split(" ").splice(0,b).join(" "))}}),d&&wp.element.createElement("p",null,wp.element.createElement("a",{className:"blockspare-block-post-grid-more-link blockspare-text-link",href:e.link,target:"_blank",rel:"bookmark"},wp.element.createElement("span",null,f))))));var a,b})))),C)}});const Wh=wp.i18n.__;(0,wp.blocks.registerBlockType)("blockspare/blockspare-latest-posts-grid",{title:Wh("BS Posts Grid","blockspare"),description:Wh("Add posts grid from selected categories.","blockspare"),category:"blockspare",icon:r.postgrid,keywords:[Wh("block","blockspare"),Wh("post","blockspare"),Wh("blog","blockspare"),Wh("archive","blockspare"),Wh("article","blockspare"),Wh("list","blockspare"),Wh("grid","blockspare"),Wh("latest","blockspare"),Wh("category","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{design:"blockspare-grid-layout-1",postsToShow:2,displayPostCategory:!1,displayPostAuthor:!1,displayPostDate:!1,imageSize:"medium",postTitleFontSize:16}},edit:Rh,save:()=>null});n(473);function Uh(){return(Uh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}const Gh=wp.element.Component,Vh=wp.i18n.__,qh=wp.hooks,$h=(qh.addFilter,qh.applyFilters),Jh=wp.blockEditor,Xh=Jh.InspectorControls,Kh=Jh.PanelColorSettings,Qh=wp.components,Zh=Qh.PanelBody,ey=Qh.QueryControls,ty=(Qh.RangeControl,Qh.SelectControl,Qh.TextControl,Qh.ToggleControl),ny=wp.url.addQueryArgs,ay=wp.apiFetch;class ry extends Gh{constructor(){super(...arguments),this.state={categoriesList:[]}}componentDidMount(){this.stillMounted=!0,this.fetchRequest=ay({path:ny("/wp/v2/categories",{per_page:-1})}).then(e=>{this.stillMounted&&this.setState({categoriesList:e})}).catch(()=>{this.stillMounted&&this.setState({categoriesList:[]})})}componentWillUnmount(){this.stillMounted=!1}imageSizeSelect(){const e=wp.data.select("core/editor").getEditorSettings();return Md()(mn()(e.imageSizes,({name:e,slug:t})=>({value:t,label:e})))}render(){const e=this.props,t=e.attributes,n=t.postType,a=t.displayPostTitle,r=t.displayPostCategory,o=t.displayPostAuthor,i=t.displayPostDate,l=(t.displayPostExcerpt,t.displayPostLink,t.excerptLength,t.readMoreText,t.design),s=void 0===l?"blockspare-list-layout-1":l,c=(t.postsToShow,t.backGroundColor),u=(t.enableBackgroundColor,t.marginTop),p=t.marginBottom,d=(t.imageSize,t.order),m=t.orderBy,f=t.categories,b=(t.offset,t.contentOrder,t.postTitleColor),g=t.postTitleFontSize,h=t.linkColor,y=t.generalColor,v=(t.borderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.titleLoadGoogleFonts),w=t.titleFontFamily,k=t.titleFontWeight,_=t.titleFontSubset,S=t.titleFontSizeType,E=t.titleFontSizeMobile,T=t.titleFontSizeTablet,x=e.attributes,M=e.setAttributes,C=(e.latestPosts,this.state.categoriesList),L=(this.imageSizeSelect(),"post"===n);Vh("Default","blockspare"),Vh("Meta → Title → Category → Content","blockspare"),Vh("Title → Meta → Category → Content","blockspare"),Vh("Title → Category → Meta → Content","blockspare");return wp.element.createElement(Xh,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Ul,{initialOpen:!1,selected:s,options:$h("blockspare.cta.edit.layouts",[{label:Vh("Style 1","blockspare"),value:"blockspare-list-layout-1",image:"images/blockspare-list-layout-1.png"},{label:Vh("Style 2","blockspare"),value:"blockspare-list-layout-2",image:"images/blockspare-list-layout-2.png"},{label:Vh("Style 3","blockspare"),value:"blockspare-list-layout-3",image:"images/blockspare-list-layout-3.png"}]),onChange:e=>M({design:e})}),wp.element.createElement(Zh,{title:Vh("Block Settings","blockspare"),className:L?null:"blockspare-hide-query",initialOpen:!1},a&&wp.element.createElement(Kh,{title:Vh("Title Color","blockspare"),initialOpen:!0,colorSettings:[{value:b,onChange:e=>M({postTitleColor:e}),label:Vh("Title Color","blockspare")}]}),a&&wp.element.createElement(ho,{label:Vh("Title Fonts Settings"),attributes:x,setAttributes:M,loadGoogleFonts:{value:v,label:Vh("titleLoadGoogleFonts")},fontFamily:{value:w,label:Vh("titleFontFamily")},fontWeight:{value:k,label:Vh("titleFontWeight")},fontSubset:{value:_,label:Vh("titleFontSubset")},fontSizeType:{value:S,label:Vh("titleFontSizeType")},fontSize:{value:g,label:Vh("postTitleFontSize")},fontSizeMobile:{value:E,label:Vh("titleFontSizeMobile")},fontSizeTablet:{value:T,label:Vh("titleFontSizeTablet")},disableLineHeight:!0}),L&&wp.element.createElement(ty,{label:Vh("Display Category","blockspare"),checked:r,onChange:()=>this.props.setAttributes({displayPostCategory:!r})}),L&&wp.element.createElement(ty,{label:Vh("Display Author","blockspare"),checked:o,onChange:()=>this.props.setAttributes({displayPostAuthor:!o})}),L&&wp.element.createElement(ty,{label:Vh("Display Date","blockspare"),checked:i,onChange:()=>this.props.setAttributes({displayPostDate:!i})}),"blockspare-list-layout-6"!=s&&"blockspare-list-layout-5"!=s&&"blockspare-list-layout-4"!=s&&wp.element.createElement(Kh,{title:Vh("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:c,onChange:e=>M({backGroundColor:e}),label:Vh("Background Color","blockspare")}]}),wp.element.createElement(Kh,{title:Vh("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:h,onChange:e=>M({linkColor:e}),label:Vh("Link Color","blockspare")},{value:y,onChange:e=>M({generalColor:e}),label:Vh("General Color","blockspare")}]})),wp.element.createElement(Zh,{title:Vh("Post Settings","blockspare"),className:L?null:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(ey,Uh({order:d,orderBy:m},{categoriesList:C,selectedCategoryId:f,onCategoryChange:e=>M({categories:""!==e?e:void 0}),onOrderChange:e=>M({order:e}),onOrderByChange:e=>M({orderBy:e})}))),wp.element.createElement(Zh,{title:Vh("Block Gaps","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:u,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>M({marginTop:e}),marginEnableBottom:!0,marginBottom:p,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>M({marginBottom:e})}))))}}function oy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function iy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oy(Object(n),!0).forEach((function(t){ly(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ly(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sy=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=t.linkColor,o=t.postTitleColor,i=t.generalColor,l=t.design,s=t.postTitleFontSize,c=t.titleFontFamily,u=t.titleFontWeight,p=(t.titleFontSubset,t.titleFontSizeType),d=t.titleFontSizeMobile,m=t.titleFontSizeTablet,f=[];return f.push({".blockspare-post-wrap":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0},".blockspare-post-category":{color:r||"#1977ac"},".blockspare-block-post-grid-author a span":{color:r||"#1977ac"},".blockspare-text-link a":{color:r||"#1977ac"},".blockspare-block-post-grid-title a span":{color:o?o+"!important":"#404040",fontSize:s+p,fontFamily:c,fontWeight:u},".blockspare-block-post-grid-date, .blockspare-block-post-grid-excerpt":{color:i||"#000"},tablet:{".blockspare-block-post-grid-title a span":{fontSize:m+p}},mobile:{".blockspare-block-post-grid-title a span":{fontSize:d+p}}}),"blockspare-list-layout-6"!=l&&"blockspare-list-layout-5"!=l&&"blockspare-list-layout-4"!=l&&f.push({".blockspare-post-single":iy({},Eh(e.attributes))}),dt.a.all(f)};function cy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function uy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cy(Object(n),!0).forEach((function(t){py(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function py(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const dy=wp.element,my=dy.Component,fy=dy.Fragment,by=wp.i18n.__,gy=wp.compose.compose,hy=wp.htmlEntities.decodeEntities,yy=wp.data.withSelect,vy=wp.components,wy=vy.Placeholder,ky=vy.Spinner;var _y=gy([yy((e,t)=>{const n=t.attributes,a=n.order,r=n.categories,o=e("core").getEntityRecords,i=rh()({categories:r,order:a,orderby:t.attributes.orderBy,per_page:t.attributes.postsToShow,offset:t.attributes.offset},e=>!nh()(e));return{latestPosts:o("postType",t.attributes.postType,i)}}),ut,lt(sy)])(class extends my{render(){const e=this.props,t=e.attributes,n=t.postType,a=(t.align,t.displayPostTitle),r=t.displayPostCategory,o=t.displayPostAuthor,l=t.displayPostDate,s=t.displayPostExcerpt,c=t.displayPostLink,u=t.excerptLength,p=t.readMoreText,d=t.design,m=t.postsToShow,f=t.sectionTag,b=(t.marginTop,t.marginBottom,t.imageSize),g=void 0===b?"medium":b,h=t.contentOrder,y=(t.postTitleColor,t.postTitleFontSize,t.linkColor,t.generalColor,t.titleLoadGoogleFonts),v=t.titleFontFamily,w=t.titleFontWeight,k=e.className,_=e.attributes,S=e.setAttributes,E=e.latestPosts;let T;if(1==y){const e={google:{families:[v+(w?":"+w:"")]}};T=wp.element.createElement(Io,{config:e})}const x=Array.isArray(E)&&E.length,M="post"===n;if(!x)return wp.element.createElement(fy,null,wp.element.createElement(ry,uy({setAttributes:S},this.props)),wp.element.createElement(wy,{icon:"admin-post",label:by("BS Blocks Posts List","blockspare")},Array.isArray(E)?by("No posts found.","blockspare"):wp.element.createElement(ky,null)));const C=E.length>m?E.slice(0,m):E,L=f||"section";let O={};"blockspare-list-layout-6"!=d&&"blockspare-list-layout-5"!=d&&"blockspare-list-layout-4"!=d&&(O=uy({},Eh(_)));const D=i()([k,"blockspare-latestpost-list"]);return wp.element.createElement(fy,null,wp.element.createElement(ry,uy({setAttributes:S},this.props)),wp.element.createElement("div",{className:D},this.props.styles,wp.element.createElement(L,{className:i()(this.props.className,"blockspare-post-wrap")},wp.element.createElement("div",{className:i()("blockspare-latest-post-wrap",d,"blockspare-is-list")},C.map((e,t)=>{const n=(e.featured_image_urls&&e.featured_image_urls[g||"large"]||[])[0];return wp.element.createElement("div",{className:i()("blockspare-post-single",n?"":"post-has-no-image","blockspare-list-layout-6"!=d&&"blockspare-list-layout-5"!=d&&"blockspare-list-layout-4"!=d?"has-background":"")},n&&wp.element.createElement("figure",{className:"blockspare-post-img"},wp.element.createElement("a",null,wp.element.createElement("img",{src:n,alt:by("featured","blockspare")}))),wp.element.createElement("div",{className:i()("blockspare-post-content",h)},wp.element.createElement("div",{className:"blockspare-block-post-grid-header"},r&&wp.element.createElement("div",{className:"blockspare-post-category",dangerouslySetInnerHTML:{__html:e.category_info.replace(/href=['"].*?['"]/g,"")}}),a&&wp.element.createElement("h4",{className:"blockspare-block-post-grid-title"},wp.element.createElement("a",{target:"_blank",rel:"bookmark",className:"blockspare-title-link"},wp.element.createElement("span",null,hy(e.title.rendered.trim())||by("(Untitled)","blockspare")))),M&&(o||l)&&wp.element.createElement("div",{className:"blockspare-block-post-grid-byline"},o&&e.author_info.display_name&&wp.element.createElement("div",{className:"blockspare-block-post-grid-author"},wp.element.createElement("a",{className:"blockspare-text-link",target:"_blank",href:e.author_info.author_link},wp.element.createElement("span",null,e.author_info.display_name))),l&&e.date_gmt&&wp.element.createElement("time",{dateTime:ih()(e.date_gmt).utc().format(),className:"blockspare-block-post-grid-date"},ih()(e.date_gmt).local().format("MMMM DD, Y","blockspare")))),(s||c)&&wp.element.createElement("div",{className:"blockspare-block-post-grid-excerpt"},s&&e.excerpt&&wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:(m=e.excerpt.rendered,f=u,m.split(" ").splice(0,f).join(" "))}}),c&&wp.element.createElement("p",null,wp.element.createElement("a",{className:"blockspare-block-post-grid-more-link blockspare-text-link",href:e.link,target:"_blank",rel:"bookmark"},wp.element.createElement("span",null,p))))));var m,f})))),T)}});const Sy=wp.i18n.__;(0,wp.blocks.registerBlockType)("blockspare/blockspare-latest-posts-list",{title:Sy("BS Posts List","blockspare"),description:Sy("Add posts list from selected categories.","blockspare"),category:"blockspare",icon:r.postlist,keywords:[Sy("block","blockspare"),Sy("post","blockspare"),Sy("list","blockspare"),Sy("blog","blockspare"),Sy("archive","blockspare"),Sy("article","blockspare"),Sy("latest","blockspare"),Sy("category","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{design:"blockspare-list-layout-1",postsToShow:3,displayPostCategory:!1,displayPostAuthor:!1,displayPostDate:!1,imageSize:"medium",postTitleFontSize:16}},edit:_y,save:()=>null});n(474),n(475);var Ey=n(30),Ty=n(271),xy=n.n(Ty);const My=wp.i18n.__;My("Dark","blockspare"),My("Light","blockspare"),My("None","blockspare");wp.i18n.__;const Cy=wp.element,Ly=(Cy.Component,Cy.Fragment,wp.components);Ly.SelectControl,Ly.ToggleControl,Ly.PanelBody,Ly.TextControl;const Oy=wp.i18n.__,Dy=wp.element.Component,jy=wp.blockEditor.InspectorControls,Fy=wp.components,Py=Fy.PanelBody,Yy=Fy.RangeControl;Fy.ToggleControl,Fy.SelectControl;var Ny=class extends Dy{constructor(){super(...arguments),this.setCaptionStyleTo=this.setCaptionStyleTo.bind(this)}componentDidUpdate(){this.props.attributes.gutter<=0&&this.props.setAttributes({radius:0})}setCaptionStyleTo(e){this.props.setAttributes({captionStyle:e})}getCaptionsHelp(e){return Oy(e?"Showing captions for each media item.":"Toggle to show media captions.","blockspare")}render(){const e=this.props,t=e.attributes,n=(e.setAttributes,t.captions,t.captionStyle,t.gutter);t.gridSize,Oy("Small","blockspare"),Oy("Medium","blockspare"),Oy("Large","blockspare");return wp.element.createElement(jy,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Py,{title:Oy("Masonry Settings","blockspare")},wp.element.createElement(Yy,{label:Oy("Gutter","blockspare"),value:n,onChange:e=>this.props.setAttributes({gutter:e}),min:0,max:50,step:5}))))}};function zy(){return(zy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function By(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ay(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?By(Object(n),!0).forEach((function(t){Hy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):By(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Iy=wp.element,Ry=Iy.Component,Wy=Iy.Fragment,Uy=wp.i18n.__,Gy=wp.compose.compose,Vy=wp.data.withSelect,qy=wp.components,$y=qy.withNotices,Jy=qy.Toolbar,Xy=qy.IconButton,Ky=wp.blockEditor,Qy=Ky.BlockControls,Zy=Ky.MediaUpload,ev=Ky.MediaUploadCheck,tv={transitionDuration:0,percentPosition:!0};var nv=Gy([Vy(e=>({editorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),pluginSidebarOpened:e("core/edit-post").isPluginSidebarOpened(),publishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),wideControlsEnabled:e("core/editor").getEditorSettings().alignWide})),$y])(class extends Ry{constructor(){super(...arguments),this.onRemoveImage=this.onRemoveImage.bind(this),this.onSelectImage=this.onSelectImage.bind(this),this.onMoveForward=this.onMoveForward.bind(this),this.onMoveBackward=this.onMoveBackward.bind(this),this.setImageAttributes=this.setImageAttributes.bind(this),this.onEditSelectImages=this.onEditSelectImages.bind(this),this.state={selectedImage:null}}componentDidMount(){"xlrg"===this.props.attributes.gridSize&&this.props.setAttributes({align:"center",gridSize:"lrg"})}componentDidUpdate(e){!this.props.isSelected&&e.isSelected&&this.setState({selectedImage:null,captionSelected:!1})}onSelectImage(e){return()=>{this.state.selectedImage!==e&&this.setState({selectedImage:e})}}onMove(e,t){const n=[...this.props.attributes.images];n.splice(t,1,this.props.attributes.images[e]),n.splice(e,1,this.props.attributes.images[t]),this.setState({selectedImage:t}),this.props.setAttributes({images:n})}onMoveForward(e){return()=>{e!==this.props.attributes.images.length-1&&this.onMove(e,e+1)}}onMoveBackward(e){return()=>{0!==e&&this.onMove(e,e-1)}}onRemoveImage(e){return()=>{const t=Td()(this.props.attributes.images,(t,n)=>e!==n);this.setState({selectedImage:null}),this.props.setAttributes({images:t})}}setImageAttributes(e,t){const n=this.props,a=n.attributes.images,r=n.setAttributes;a[e]&&r({images:[...a.slice(0,e),Ay({},a[e],{},t),...a.slice(e+1)]})}onEditSelectImages(e){this.props.setAttributes({images:e.map(e=>cm(e,this.props.attributes.images))})}render(){const e=this.props,t=e.attributes,n=(e.className,e.isSelected),a=(e.noticeUI,t.align,t.captions),r=t.gridSize,o=t.gutter,l=t.images,s=t.linkTo,c=!!l.length,u=wp.element.createElement(Em,this.props),p=i()("has-grid-"+r,"has-gutter-"+o);return c?wp.element.createElement(Wy,null,n&&wp.element.createElement(Ny,this.props),wp.element.createElement(Qy,null,c&&wp.element.createElement(Wy,null,wp.element.createElement(Jy,null,wp.element.createElement(ev,null,wp.element.createElement(Zy,{onSelect:this.onEditSelectImages,allowedTypes:um,multiple:!0,gallery:!0,value:l.map(e=>e.id),render:({open:e})=>wp.element.createElement(Xy,{className:"components-toolbar__control",label:Uy("Edit gallery","blockspare"),icon:"edit",onClick:e})}))))),wp.element.createElement("div",{className:"blockspare-blocks blockspare-masonry-wrapper"},u,wp.element.createElement(xy.a,{elementType:"ul",className:p,options:tv,disableImagesLoaded:!1,updateOnEachImageLoad:!1},l.map((e,t)=>{const r=sprintf(Uy("image %1$d of %2$d in gallery","blockspare"),t+1,l.length);return wp.element.createElement("li",{className:"blockspare-gallery-item",key:e.id||e.url},wp.element.createElement(nm,{url:e.url,alt:e.alt,id:e.id,imgLink:e.imgLink,linkTo:s,isFirstItem:0===t,isLastItem:t+1===l.length,isSelected:n&&this.state.selectedImage===t,onSelect:this.onSelectImage(t),onMoveBackward:this.onMoveBackward(t),onMoveForward:this.onMoveForward(t),onRemove:this.onRemoveImage(t),setAttributes:e=>this.setImageAttributes(t,e),caption:e.caption,"aria-label":r,captions:a,supportsCaption:!0}))})))):wp.element.createElement(ym,zy({},this.props,{label:Uy("Masonry","blockspare"),icon:"lionk"}))}});const av=wp.blockEditor.RichText;var rv=({attributes:e,className:t})=>{const n=e.captions,a=e.gridSize,r=e.gutter,o=e.images,l=e.linkTo,s=(e.lightbox,e.rel),c=e.target,u=i()({"has-gutter":r}),p=i()("has-grid-"+a,"has-gutter-"+r);return wp.element.createElement("div",{className:"blockspare-blocks blockspare-masonry-wrapper"},wp.element.createElement("div",{className:u},wp.element.createElement("ul",{className:p},o.map(e=>{let t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const a=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return wp.element.createElement("li",{key:e.id||e.url,className:"blockspare-gallery-item"},wp.element.createElement("figure",{className:"blockspare-gallery-figure"},t?wp.element.createElement("a",{href:t,target:c,rel:s},a):a,n&&e.caption&&e.caption.length>0&&wp.element.createElement(av.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:e.caption})))}))))};wp.blockEditor.RichText;var ov={images:{type:"array",default:[],source:"query",selector:".blockspare-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},link:{source:"attribute",selector:"img",attribute:"data-link"},imgLink:{source:"attribute",selector:"img",attribute:"data-imglink"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"array",source:"children",selector:"figcaption"}}},linkTo:{type:"string",default:"none"},target:{type:"string"},rel:{type:"string",default:""},align:{type:"string"},gutter:{type:"number",default:15},captions:{type:"boolean",default:!1},captionStyle:{type:"string",default:"dark"},captionColor:{type:"string"}};function iv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function lv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sv=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iv(Object(n),!0).forEach((function(t){lv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ov,{},Ey.attributes),save:function(e){const t=e.attributes,n=t.captions,a=t.gridSize,r=t.gutter,o=t.images,l=t.linkTo,s=(t.lightbox,t.rel),c=t.target,u=i()({"has-gutter":r>0}),p=i()("has-grid-"+a,{["has-gutter-"+r]:r>0});return wp.element.createElement("div",{className:"blockspare-blocks blockspare-masonry-wrapper"},wp.element.createElement("div",{className:u},wp.element.createElement("ul",{className:p},o.map(e=>{let t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const a=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return wp.element.createElement("li",{key:e.id||e.url,className:"blockspare-gallery-item"},wp.element.createElement("figure",{className:"blockspare-gallery-figure"},t?wp.element.createElement("a",{href:t,target:c,rel:s},a):a,n&&e.caption&&e.caption.length>0&&wp.element.createElement(RichText.Content,{tagName:"figcaption",className:"blockspare-gallery-caption",value:e.caption})))}))))}}];function cv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function uv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pv=blockspare_globals,dv=Ey.name,mv=Ey.category,fv=wp.i18n.__,bv=wp.blocks.registerBlockType,gv=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cv(Object(n),!0).forEach((function(t){uv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ov,{},Ey.attributes);bv(dv,{title:fv("BS Image Masonry","blockspare"),description:fv("Add Masonry Items","blockspare"),category:mv,icon:r.masonry,attributes:gv,keywords:[fv("block","blockspare"),fv("image","blockspare"),fv("masonry","blockspare"),fv("gallery","blockspare"),fv("column","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{gridSize:"lrg",gutter:5,images:[{url:pv.menu_img_url},{url:pv.img},{url:pv.menu_img_url},{url:pv.img},{url:pv.menu_img_url},{url:pv.menu_img_url},{url:pv.img},{url:pv.menu_img_url},{url:pv.img}]}},edit:nv,save:rv,deprecated:sv});n(476),n(477);var hv=n(31);const yv=wp.i18n.__,vv=wp.element,wv=vv.Component,kv=(vv.Fragment,wp.blockEditor),_v=kv.InspectorControls,Sv=kv.PanelColorSettings,Ev=wp.components,Tv=Ev.PanelBody,xv=Ev.ToggleControl;Ev.RangeControl;class Mv extends wv{render(){const e=this.props,t=e.attributes,n=t.textsColor,a=t.backGroundColor,r=t.boxBorderColor,o=t.buttonBackgroundColor,i=t.buttonTextColor,l=t.buttonSize,s=t.buttonShape,c=t.buttonTarget,u=t.paddingTop,p=t.paddingRight,d=t.paddingBottom,m=t.paddingLeft,f=t.marginTop,b=t.marginBottom,g=t.enableButton,h=t.buttonStyle,y=t.borderColor,v=t.borderBtnTextColor,w=t.fontSize,k=t.enableGradient,_=t.backgroundColor1,S=t.backgroundColor2,E=t.gradientAngle,T=t.colorLocation1,x=t.colorLocation2,M=(t.borderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.btnFontWeight),C=t.btnBorderWidth,L=t.buttonHoverEffect,O=t.titleLoadGoogleFonts,D=t.titleFontFamily,j=t.titleFontWeight,F=t.titleFontSubset,P=t.titleFontSizeType,Y=t.titleFontSizeMobile,N=t.titleFontSizeTablet,z=e.attributes,B=e.setAttributes;return wp.element.createElement(_v,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Tv,{title:yv("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(ho,{label:yv("Title Fonts Settings"),attributes:z,setAttributes:B,loadGoogleFonts:{value:O,label:yv("titleLoadGoogleFonts")},fontFamily:{value:D,label:yv("titleFontFamily")},fontWeight:{value:j,label:yv("titleFontWeight")},fontSubset:{value:F,label:yv("titleFontSubset")},fontSizeType:{value:P,label:yv("titleFontSizeType")},fontSize:{value:w,label:yv("fontSize")},fontSizeMobile:{value:Y,label:yv("titleFontSizeMobile")},fontSizeTablet:{value:N,label:yv("titleFontSizeTablet")},disableLineHeight:!0}),wp.element.createElement(Sv,{title:yv("Texts Color","blockspare"),initialOpen:!0,colorSettings:[{value:n,onChange:e=>B({textsColor:e}),label:yv("Texts Color","blockspare")},{value:a,onChange:e=>B({backGroundColor:e}),label:yv("Background Color","blockspare")},{value:r,onChange:e=>B({boxBorderColor:e}),label:yv("Dash Color","blockspare")}]})),g&&wp.element.createElement(Tv,{title:yv("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(_e,{enableButtonTarget:!1,buttonTarget:c,onChangeButtonTarget:e=>B({buttonTarget:!c}),enableGradient:k,onChangeGradient:e=>B({enableGradient:e}),enableButtonSize:!0,buttonSize:l,onChangeButtonSize:e=>B({buttonSize:e}),enableButtonShape:!0,buttonShape:s,onChangeButtonShape:e=>B({buttonShape:e}),buttonBackgroundColor:o,onChangeButtonColor:e=>B({buttonBackgroundColor:e}),buttonTextColor:i,onChangeButtonTextColor:e=>B({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:h,onChangeBorderStyle:e=>B({buttonStyle:e}),buttonHoverEffect:L,onchangeButtonHoverEffect:e=>B({buttonHoverEffect:e}),borderColor:y,onchangeBorderColor:e=>B({borderColor:e}),borderBtnTextColor:v,onChangeBorderBtnTextColor:e=>B({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:C,onchangebtnBorderWidth:e=>B({btnBorderWidth:e}),enableBtnFontWeight:!0,btnFontWeight:M,onchangeBtnFontWeight:e=>B({btnFontWeight:e})})),g&&"none"===h&&wp.element.createElement(xv,{label:yv("Enable Gradient","blockspare"),checked:k,onChange:()=>this.props.setAttributes({enableGradient:!k})}),k&&"none"===h&&g&&wp.element.createElement(Tv,{title:yv("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Me,{backgroundColor1:_,onChangeBackgroundColor1:e=>B({backgroundColor1:e}),backgroundColor2:S,onChangeBackgroundColor2:e=>B({backgroundColor2:e}),gradientAngle:E,onChangeGradientAngle:e=>B({gradientAngle:e}),colorLocation1:T,onChangeColorLocation1:e=>B({colorLocation1:e}),colorLocation2:x,onChangeColorLocation2:e=>B({colorLocation2:e})})),wp.element.createElement(Tv,{title:yv("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Tv,{title:yv("Padding Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:u,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>B({paddingTop:e}),paddingEnableRight:!0,paddingRight:p,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>B({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:d,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>B({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:m,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>B({paddingLeft:e})})),wp.element.createElement(Tv,{title:yv("Margin Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:f,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>B({marginTop:e}),marginEnableBottom:!0,marginBottom:b,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>B({marginBottom:e})})))))}}function Cv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Lv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cv(Object(n),!0).forEach((function(t){Ov(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ov(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dv=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textsColor,r=t.fontSize,o=t.backGroundColor,i=t.boxBorderColor,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=t.borderRadius,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,y=t.titleFontSizeTablet,v=t.buttonStyle,w=t.enableGradient,k=t.backgroundColor1,_=t.backgroundColor2,S=t.gradientAngle,E=t.colorLocation1,T=t.colorLocation2,x=t.btnFontWeight,M=t.btnBorderWidth,C=t.borderColor,L=t.buttonBackgroundColor,O=t.borderBtnTextColor,D=t.buttonTextColor,j=[];if("none"===v)if(1==w){const e=S+"deg",t=E+"%",n=T+"%";j.push({".blockspare-block-button span":{color:D||"#fff",fontWeight:x,borderWidth:M+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${k||"#3B1A5B"} ${t},${_||"#8B249C"} ${n})`}})}else j.push({".blockspare-block-button span":{color:D||"#fff",fontWeight:x,borderWidth:M+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:L||"#3c1a5b"}});else j.push({".blockspare-block-button span":{color:O||"#404040",borderColor:C||"#3c1a5b",borderStyle:v,fontWeight:x,borderWidth:M+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return j.push({".blockspare-noticebar-wrapper":Lv({},Jo(e.attributes),{backgroundColor:o||"#fff",borderColor:i||"#cc0000",textAlign:n,paddingTop:l?l+"px":void 0,paddingRight:s?s+"px":void 0,paddingBottom:c?c+"px":void 0,paddingLeft:u?u+"px":void 0,marginTop:p?p+"px":void 0,marginBottom:d?d+"px":void 0,borderRadius:m?m+"px":void 0}),".blockspare-section-notice-wrap":{textAlign:n},".blockspare-notice-content":{color:a,fontSize:r+g+"!important",fontFamily:f,fontWeight:"Default"!==f?b+"!important":""},tablet:{".blockspare-notice-content":{fontSize:y+g+"!important"}},mobile:{".blockspare-notice-content":{fontSize:h+g+"!important"}}}),dt.a.all(j)};function jv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Fv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pv=wp.element.Component,Yv=wp.i18n.__,Nv=wp.compose.compose,zv=wp.blockEditor,Bv=zv.AlignmentToolbar,Av=zv.URLInput,Hv=zv.BlockControls,Iv=zv.RichText,Rv=wp.components,Wv=Rv.IconButton,Uv=Rv.Dashicon;var Gv=Nv(ut,lt(Dv))(class extends Pv{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonAlignment,o=t.buttonSize,l=t.buttonShape,s=t.noticeContent,c=t.sectionAlignment,u=t.enableButton,p=t.buttonHoverEffect,d=t.titleLoadGoogleFonts,m=t.titleFontFamily,f=t.titleFontWeight,b=e.className,g=(e.attributes,e.isSelected),h=e.setAttributes;let y;if(1==d){const e={google:{families:[m+(f?":"+f:"")]}};y=wp.element.createElement(Io,{config:e})}const v=i()([b,"blockspare-notice-block"]);return wp.element.createElement("fragment",null,wp.element.createElement(Hv,null,wp.element.createElement(Bv,{value:c,onChange:e=>{h({sectionAlignment:e})}})),wp.element.createElement(Mv,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jv(Object(n),!0).forEach((function(t){Fv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:h},this.props)),wp.element.createElement("div",{className:v},this.props.styles,wp.element.createElement("div",{className:"blockspare-noticebar-wrapper blockspare-blocks"},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement(Iv,{tagName:"div",placeholder:Yv("Add your notice here..","blockspare"),keepPlaceholderOnFocus:!0,value:s,className:"blockspare-notice-content",onChange:e=>h({noticeContent:e})})),u&&wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement(Iv,{tagName:"span",placeholder:Yv("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:n,allowedFormats:[],className:i()("blockspare-button",l,o,p),onChange:e=>h({buttonText:e})}),g&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+r,onSubmit:e=>e.preventDefault()},wp.element.createElement(Uv,{icon:"admin-links"}),wp.element.createElement(Av,{className:"button-url",value:a,onChange:e=>h({buttonUrl:e})}),wp.element.createElement(Wv,{icon:"editor-break",label:Yv("Apply","blockspare"),type:"submit"}))))),y)}});const Vv=wp.element.Component,qv=wp.compose.compose,$v=wp.blockEditor.RichText;var Jv=qv(ut,lt(Dv))(class extends Vv{render(){const e=this.props,t=e.attributes,n=(t.align,t.buttonText),a=t.buttonUrl,r=t.buttonTarget,o=t.buttonSize,l=t.buttonShape,s=t.noticeContent,c=t.enableButton,u=t.buttonHoverEffect,p=e.className,d=i()([p,"blockspare-notice-block"]);return wp.element.createElement("div",{className:d},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-noticebar-wrapper","blockspare-blocks")},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,s&&wp.element.createElement($v.Content,{tagName:"div",className:"blockspare-notice-content",value:s})))),c&&wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:r?"_blank":null,rel:r?"noopener noreferrer":null,className:i()("blockspare-button",l,o,u)},wp.element.createElement($v.Content,{value:n})))))}});function Xv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Kv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xv(Object(n),!0).forEach((function(t){Qv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zv=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textsColor,r=t.fontSize,o=t.backGroundColor,i=t.boxBorderColor,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=t.borderRadius,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,y=t.titleFontSizeTablet,v=[];return v.push({".blockspare-noticebar-wrapper":Kv({},Jo(e.attributes),{backgroundColor:o||"#fff",borderColor:i||"#cc0000",textAlign:n,paddingTop:l?l+"px":void 0,paddingRight:s?s+"px":void 0,paddingBottom:c?c+"px":void 0,paddingLeft:u?u+"px":void 0,marginTop:p?p+"px":void 0,marginBottom:d?d+"px":void 0,borderRadius:m?m+"px":void 0}),".blockspare-section-notice-wrap":{textAlign:n},".blockspare-notice-content":{color:a,fontSize:r+g+"!important",fontFamily:f,fontWeight:"Default"!==f?b+"!important":""},".blockspare-button":Kv({},Pt(e.attributes)),tablet:{".blockspare-notice-content":{fontSize:y+g+"!important"}},mobile:{".blockspare-notice-content":{fontSize:h+g+"!important"}}}),dt.a.all(v)};const ew=wp.element.Component,tw=wp.compose.compose,nw=wp.blockEditor.RichText;var aw=tw(ut,lt(Zv))(class extends ew{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,o=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.noticeContent,u=t.enableButton,p=t.buttonHoverEffect,d=e.className,m=i()([d,"blockspare-notice-block"]);return wp.element.createElement("div",{className:m},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-noticebar-wrapper","blockspare-blocks","align"+n)},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,c&&wp.element.createElement(nw.Content,{tagName:"div",className:"blockspare-notice-content",value:c})))),u&&wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:o?"_blank":null,rel:o?"noopener noreferrer":null,className:i()("blockspare-button",s,l,p)},wp.element.createElement(nw.Content,{value:a})))))}});function rw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ow(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rw(Object(n),!0).forEach((function(t){iw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function iw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lw=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.textsColor,r=t.fontSize,o=t.backGroundColor,i=t.boxBorderColor,l=t.paddingTop,s=t.paddingRight,c=t.paddingBottom,u=t.paddingLeft,p=t.marginTop,d=t.marginBottom,m=t.borderRadius,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSizeType,h=t.titleFontSizeMobile,y=t.titleFontSizeTablet,v=[];return v.push({".blockspare-noticebar-wrapper":ow({},Jo(e.attributes),{backgroundColor:o||"#fff",borderColor:i||"#cc0000",textAlign:n,paddingTop:l?l+"px":void 0,paddingRight:s?s+"px":void 0,paddingBottom:c?c+"px":void 0,paddingLeft:u?u+"px":void 0,marginTop:p?p+"px":void 0,marginBottom:d?d+"px":void 0,borderRadius:m?m+"px":void 0}),".blockspare-section-notice-wrap":{textAlign:n},".blockspare-notice-content":{color:a,fontSize:r+g+"!important",fontFamily:f,fontWeight:"Default"!==f?b+"!important":""},".blockspare-button":ow({},Ft(e.attributes)),tablet:{".blockspare-notice-content":{fontSize:y+g+"!important"}},mobile:{".blockspare-notice-content":{fontSize:h+g+"!important"}}}),dt.a.all(v)};const sw=wp.element.Component,cw=wp.compose.compose,uw=wp.blockEditor.RichText;var pw=cw(ut,lt(lw))(class extends sw{render(){const e=this.props,t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,o=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.noticeContent,u=t.enableButton,p=t.buttonHoverEffect,d=e.className,m=i()([d,"blockspare-notice-block"]);return wp.element.createElement("div",{className:m},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-noticebar-wrapper","blockspare-blocks","align"+n)},wp.element.createElement("div",{className:"blockspare-section-notice-wrap"},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,c&&wp.element.createElement(uw.Content,{tagName:"div",className:"blockspare-notice-content",value:c})))),u&&wp.element.createElement("div",{className:"blockspare-block-button"},a&&wp.element.createElement("a",{href:r,target:o?"_blank":null,rel:o?"noopener noreferrer":null,className:i()("blockspare-button",s,l,p)},wp.element.createElement(uw.Content,{value:a})))))}});function dw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function mw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dw(Object(n),!0).forEach((function(t){fw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const bw=wp.blockEditor.RichText,gw=mw({},hv.attributes,{},jt,{},an);var hw=[{attributes:gw,save:function(e){const t=e.attributes,n=t.align,a=t.buttonText,r=t.buttonUrl,o=t.buttonTarget,l=t.buttonSize,s=t.buttonShape,c=t.sectionAlignment,u=t.noticeContent,p=t.textsColor,d=t.backGroundColor,m=t.boxBorderColor,f=t.paddingTop,b=t.paddingRight,g=t.paddingBottom,h=t.paddingLeft,y=t.marginTop,v=t.marginBottom,w=t.enableButton,k=t.fontSize,_=t.borderRadius,S=t.buttonHoverEffect,E=t.className,T=mw({},Jo(e.attributes),{textAlign:c,backgroundColor:d||"#fff",borderColor:m||"#cc0000",paddingTop:f?f+"px":void 0,paddingRight:b?b+"px":void 0,paddingBottom:g?g+"px":void 0,paddingLeft:h?h+"px":void 0,marginTop:y?y+"px":void 0,marginBottom:v?v+"px":void 0,borderRadius:_+"px"}),x=mw({},Pi(e.attributes));return wp.element.createElement("div",{className:i()("blockspare-noticebar-wrapper","blockspare-blocks","align"+n),style:T},wp.element.createElement("div",{className:"blockspare-section-notice-wrap",style:{textAlign:c,color:p||"#4c4c4c"}},wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement("div",null,u&&wp.element.createElement(bw.Content,{tagName:"div",className:"blockspare-notice-content",value:u,style:{fontSize:k+"px"}})))),w&&wp.element.createElement("div",{style:{textAlign:c},className:i()(E,"blockspare-block-button")},a&&wp.element.createElement("a",{href:r,target:o?"_blank":null,rel:o?"noopener noreferrer":null,className:i()("blockspare-button",s,l,S),style:x},wp.element.createElement(bw.Content,{value:a}))))}},{attributes:gw,save:e=>wp.element.createElement(pw,e)},{attributes:gw,save:e=>wp.element.createElement(aw,e)}];function yw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function vw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ww=hv.name,kw=hv.category,_w=wp.i18n.__,Sw=wp.blocks.registerBlockType,Ew=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yw(Object(n),!0).forEach((function(t){vw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},jt,{},an,{},hv.attributes);Sw(ww,{title:_w("BS Notice Bar","blockspare"),description:_w("BS Notice Bar allow you to add various type of notices","blockspare"),category:kw,icon:r.notice,attributes:Ew,keywords:[_w("block","blockspare"),_w("notice","blockspare"),_w("bar","blockspare"),_w("announcement","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:Gv,save:Jv,deprecated:hw});var Tw=n(65);const xw=wp.element.Component;class Mw extends xw{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=(e.backgroundColor,e.align),n=i()(["blockspare-price-list-section-admin blockspare-price-list"],{["align"+t]:t});return wp.element.createElement("div",{className:n||void 0},this.props.children)}}n(478),n(479);var Cw=n(37);const Lw=wp.i18n.__,Ow=wp.element.Component,Dw=wp.blockEditor,jw=Dw.InspectorControls,Fw=Dw.PanelColorSettings,Pw=wp.components,Yw=Pw.PanelBody,Nw=Pw.ToggleControl;Pw.SelectControl,Pw.RangeControl;class zw extends Ow{render(){const e=this.props,t=e.attributes,n=(t.layoutOptions,t.priceUnitPosition,t.showDots),a=(t.priceTitleColor,t.priceColor),r=t.priceUnitColor,o=(t.backgroundColor,t.priceDescriptionColor,t.showImage),i=(t.imgIconOption,t.name,t.iconSize,t.iconStyles,t.iconBackgroundColor,t.iconBorderColor,t.iconColor,t.borderRadius,t.paddingTop),l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.marginTop,p=t.marginBottom,d=(t.blockBorderRadius,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.titleFontSize),m=t.titleLoadGoogleFonts,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSubset,h=t.titleFontSizeType,y=t.titleFontSizeMobile,v=t.titleFontSizeTablet,w=t.priceUnitFontSize,k=t.priceUnitLoadGoogleFonts,_=t.priceUnitFontFamily,S=t.priceUnitFontWeight,E=t.priceUnitFontSubset,T=t.priceUnitFontSizeType,x=t.priceUnitFontSizeMobile,M=t.priceUnitFontSizeTablet,C=t.descriptionFontSize,L=t.descriptionFontFamily,O=t.descriptionFontWeight,D=t.descriptionFontSubset,j=t.descriptionFontSizeType,F=t.descriptionFontSizeMobile,P=t.descriptionFontSizeTablet,Y=t.descriptionLoadGoogleFonts,N=e.attributes,z=e.setAttributes;Lw("Layout 1","blockspare"),Lw("Layout 2","blockspare"),Lw("Layout 3","blockspare"),Lw("Before Price","blockspare"),Lw("After Price","blockspare"),Lw("Icon","blockspare"),Lw("Image","blockspare");return wp.element.createElement(jw,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Yw,{title:Lw("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(Nw,{label:Lw("Display Image ","blockspare"),checked:o,onChange:()=>this.props.setAttributes({showImage:!o})}),wp.element.createElement(Nw,{label:Lw("Display Dots","blockspare"),checked:n,onChange:()=>this.props.setAttributes({showDots:!n})})),wp.element.createElement(Yw,{title:Lw("Typography Settings","blockspare")},wp.element.createElement(ho,{label:Lw("Title Fonts Settings"),attributes:N,setAttributes:z,loadGoogleFonts:{value:m,label:Lw("titleLoadGoogleFonts")},fontFamily:{value:f,label:Lw("titleFontFamily")},fontWeight:{value:b,label:Lw("titleFontWeight")},fontSubset:{value:g,label:Lw("titleFontSubset")},fontSizeType:{value:h,label:Lw("titleFontSizeType")},fontSize:{value:d,label:Lw("titleFontSize")},fontSizeMobile:{value:y,label:Lw("titleFontSizeMobile")},fontSizeTablet:{value:v,label:Lw("titleFontSizeTablet")},disableLineHeight:!0}),wp.element.createElement(ho,{label:Lw("Description Fonts Settings"),attributes:N,setAttributes:z,loadGoogleFonts:{value:Y,label:Lw("descriptionLoadGoogleFonts")},fontFamily:{value:L,label:Lw("descriptionFontFamily")},fontWeight:{value:O,label:Lw("descriptionFontWeight")},fontSubset:{value:D,label:Lw("descriptionFontSubset")},fontSizeType:{value:j,label:Lw("descriptionFontSizeType")},fontSize:{value:C,label:Lw("descriptionFontSize")},fontSizeMobile:{value:F,label:Lw("descriptionFontSizeMobile")},fontSizeTablet:{value:P,label:Lw("descriptionFontSizeTablet")},disableLineHeight:!0}),wp.element.createElement(ho,{label:Lw("Price Fonts Settings"),attributes:N,setAttributes:z,loadGoogleFonts:{value:k,label:Lw("priceUnitLoadGoogleFonts")},fontFamily:{value:_,label:Lw("priceUnitFontFamily")},fontWeight:{value:S,label:Lw("priceUnitFontWeight")},fontSubset:{value:E,label:Lw("priceUnitFontSubset")},fontSizeType:{value:T,label:Lw("priceUnitFontSizeType")},fontSize:{value:w,label:Lw("priceUnitFontSize")},fontSizeMobile:{value:x,label:Lw("priceUnitFontSizeMobile")},fontSizeTablet:{value:M,label:Lw("priceUnitFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(Yw,{title:Lw("Color Settings","blockspare"),initialOpen:!1},wp.element.createElement(Fw,{title:Lw("Colors","blockspare"),initialOpen:!0,colorSettings:[{value:a,onChange:e=>z({priceColor:e}),label:Lw("Price Color","blockspare")},{value:r,onChange:e=>z({priceUnitColor:e}),label:Lw("Unit Color","blockspare")}]})),wp.element.createElement(Yw,{title:Lw("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Yw,{title:Lw("Padding Settings","blockspare"),initialOpen:!0},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:i,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>z({paddingTop:e}),paddingEnableRight:!0,paddingRight:l,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>z({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:s,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>z({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:c,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>z({paddingLeft:e})})),wp.element.createElement(Yw,{title:Lw("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:u,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>z({marginTop:e}),marginEnableBottom:!0,marginBottom:p,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>z({marginBottom:e})})))))}}function Bw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Aw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bw(Object(n),!0).forEach((function(t){Hw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Iw=e=>{const t=e.attributes,n=t.backgroundColor,a=t.blockBorderRadius,r=t.priceTitleColor,o=t.priceColor,i=t.priceUnitColor,l=t.priceDescriptionColor,s=t.titleFontSize,c=t.titleFontFamily,u=t.titleFontWeight,p=t.titleFontSizeType,d=t.titleFontSizeMobile,m=t.titleFontSizeTablet,f=t.priceUnitFontSize,b=t.priceUnitFontFamily,g=t.priceUnitFontWeight,h=t.priceUnitFontSizeType,y=t.priceUnitFontSizeMobile,v=t.priceUnitFontSizeTablet,w=t.descriptionFontSize,k=t.descriptionFontFamily,_=t.descriptionFontWeight,S=(t.descriptionFontSubset,t.descriptionFontSizeType),E=t.descriptionFontSizeMobile,T=t.descriptionFontSizeTablet,x=[];return x.push({".blockspare-price-list-wrap":Aw({},Xo(e.attributes),{},Jo(e.attributes),{backgroundColor:n||"#fff",borderRadius:a||null}),",blockspare-block-icon":Aw({},lp(e.attributes)),".blockspare-price-divider":{color:l||"#6d6d6d"},".blockspare-title":{color:r||"#404040",fontSize:s+p+"!important",fontFamily:c+"!important",fontWeight:"Default"!==c?u+"!important":""},".blockspare-price":{color:o||"#af0000",fontSize:f+h+"!important",fontFamily:b+"!important",fontWeight:"Default"!==b?g+"!important":""},".blockspare-unit":{color:i||"#af0000"},".blockspare-description":{color:l||"#6d6d6d",fontSize:w+S+"!important",fontFamily:k+"!important",fontWeight:"Default"!==k?_+"!important":""},tablet:{".blockspare-title":{fontSize:m+p+"!important"},".blockspare-price, .blockspare-unit":{fontSize:v+p+"!important"},".blockspare-description":{fontSize:T+S+"!important"}},mobile:{".blockspare-title":{fontSize:d+p+"!important"},".blockspare-price, .blockspare-unit":{fontSize:y+p+"!important"},".blockspare-description":{fontSize:E+S+"!important"}}}),dt.a.all(x)};const Rw=blockspare_globals,Ww=wp.element,Uw=Ww.Component,Gw=Ww.Fragment,Vw=wp.i18n.__,qw=wp.compose.compose,$w=["core/image"],Jw=[["core/image",{url:Rw.menu_img_url,width:120,height:120,align:"center"}]],Xw=wp.blockEditor,Kw=Xw.RichText,Qw=Xw.InnerBlocks;var Zw=qw(ut,lt(Iw))(class extends Uw{render(){const e=this.props,t=e.attributes,n=t.price,a=t.priceTitle,r=t.priceDescription,o=t.priceUnit,l=t.layoutOptions,s=t.priceUnitPosition,c=t.showDots,u=t.showImage,p=t.imgIconOption,d=t.name,m=t.iconSize,f=t.iconStyles,b=e.className,g=(e.attributes,e.setAttributes),h=i()([b,"blockspare-pircelist"]);return wp.element.createElement(Gw,null,wp.element.createElement(zw,this.props),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-price-list-wrap",l,s)},wp.element.createElement("div",{className:"blockspare-img-wrapper"},u&&"image"==p&&wp.element.createElement(Qw,{template:Jw,allowedBlocks:$w,templateLock:!0,templateInsertUpdatesSelection:!0})),u&&"icon"==p&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:i()("blockspare-block-icon",m,f)},wp.element.createElement("i",{className:d}))),wp.element.createElement("div",{className:"blockspare-price-content"},wp.element.createElement("div",{className:"blockspare-price-header"},wp.element.createElement(Kw,{tagName:"h4",className:"blockspare-title",onChange:e=>g({priceTitle:e}),value:a,placeholder:Vw("Title","blockspare"),keepPlaceholderOnFocus:!0}),c&&wp.element.createElement("span",{className:"blockspare-price-divider"}),wp.element.createElement("div",{className:"blockspare-price-unit-wrap"},wp.element.createElement(Kw,{tagName:"span",className:"blockspare-price",onChange:e=>g({price:e}),value:n,placeholder:Vw("Price","blockspare"),keepPlaceholderOnFocus:!0}),wp.element.createElement(Kw,{tagName:"span",className:"blockspare-unit",onChange:e=>g({priceUnit:e}),value:o,placeholder:Vw("$","blockspare"),keepPlaceholderOnFocus:!0}))),wp.element.createElement(Kw,{tagName:"p",className:"blockspare-description",onChange:e=>g({priceDescription:e}),value:r,placeholder:Vw("Description","blockspare"),keepPlaceholderOnFocus:!0})))))}});const ek=wp.element.Component,tk=wp.compose.compose,nk=wp.blockEditor,ak=nk.InnerBlocks,rk=nk.RichText;var ok=tk(ut,lt(Iw))(class extends ek{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.priceTitle,a=t.priceDescription,r=t.priceUnit,o=t.price,l=t.layoutOptions,s=t.priceUnitPosition,c=t.showDots,u=t.showImage,p=t.imgIconOption,d=t.name,m=t.iconSize,f=t.iconStyles,b=e.className,g=(e.attributes,i()([b,"blockspare-pircelist"]));return wp.element.createElement("div",{className:g},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-price-list-wrap",l,s)},wp.element.createElement("div",{className:"blockspare-imge-wrapper"},u&&"image"==p&&wp.element.createElement(ak.Content,null)),u&&"icon"==p&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:i()("blockspare-block-icon",m,f)},wp.element.createElement("i",{className:d}))),wp.element.createElement("div",{className:"blockspare-price-content"},wp.element.createElement("div",{className:"blockspare-price-header"},wp.element.createElement(rk.Content,{tagName:"h4",className:"blockspare-title",value:n}),c&&wp.element.createElement("span",{className:"blockspare-price-divider"}),wp.element.createElement("div",{className:"blockspare-price-unit-wrap"},wp.element.createElement(rk.Content,{tagName:"span",className:"blockspare-price",value:o}),wp.element.createElement(rk.Content,{tagName:"span",className:"blockspare-unit",value:r}))),wp.element.createElement(rk.Content,{tagName:"p",className:"blockspare-description",value:a}))))}});function ik(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function lk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ik(Object(n),!0).forEach((function(t){sk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ik(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ck=wp.blockEditor,uk=ck.InnerBlocks,pk=ck.RichText;var dk=[{attributes:lk({},Cw.attributes,{},Jt,{},an),save:function(e){const t=e.attributes,n=t.priceTitle,a=t.priceDescription,r=t.priceUnit,o=t.price,l=t.layoutOptions,s=t.priceUnitPosition,c=t.showDots,u=t.priceTitleColor,p=t.priceColor,d=t.priceUnitColor,m=t.priceDescriptionColor,f=t.backgroundColor,b=t.showImage,g=t.imgIconOption,h=t.name,y=t.iconSize,v=t.iconStyles,w=t.blockBorderRadius,k=lk({},lp(e.attributes));return wp.element.createElement("div",{className:i()("blockspare-price-list-wrap",l,s),style:lk({},Xo(e.attributes),{},Jo(e.attributes),{backgroundColor:f||"#fff",borderRadius:w||null})},wp.element.createElement("div",{className:"blockspare-imge-wrapper"},b&&"image"==g&&wp.element.createElement(uk.Content,null)),b&&"icon"==g&&wp.element.createElement("div",{className:"blockspare-block-icon-wrapper"},wp.element.createElement("div",{className:i()("blockspare-block-icon",y,v),style:k},wp.element.createElement("i",{className:h}))),wp.element.createElement("div",{className:"blockspare-price-content"},wp.element.createElement("div",{className:"blockspare-price-header"},wp.element.createElement(pk.Content,{tagName:"h4",className:"blockspare-title",value:n,style:{color:u||"#404040"}}),c&&wp.element.createElement("span",{className:"blockspare-price-divider",style:{color:m||"#6d6d6d"}}),wp.element.createElement("div",{className:"blockspare-price-unit-wrap"},wp.element.createElement(pk.Content,{tagName:"span",className:"blockspare-price",value:o,style:{color:p||"#af0000"}}),wp.element.createElement(pk.Content,{tagName:"span",className:"blockspare-unit",value:r,style:{color:d||"#af0000"}}))),wp.element.createElement(pk.Content,{tagName:"p",className:"blockspare-description",value:a,style:{color:m||"#6d6d6d"}})))}}];function mk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function fk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const bk=wp.i18n.__,gk=wp.blocks.registerBlockType,hk=Cw.category,yk=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mk(Object(n),!0).forEach((function(t){fk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Cw.attributes,{},Jt,{},an),vk={title:bk("Price List Item","blockspare"),description:bk("Display creative Price List, Menu .","blockspare"),parent:["blockspare/blockspare-price-list"],icon:r.pricingList,category:hk,supports:{html:!1,inserter:!1,reusable:!1},attributes:yk,edit:Zw,save:ok,deprecated:dk};gk("blockspare/list-item",vk);const wk=wp.element,kk=wk.Component,_k=wk.Fragment,Sk=wp.i18n.__,Ek=wp.compose.compose,Tk=wp.components.PanelBody,xk=wp.blocks.createBlock,Mk=wp.data,Ck=Mk.withSelect,Lk=Mk.withDispatch,Ok=wp.blockEditor,Dk=Ok.InnerBlocks,jk=Ok.InspectorControls,Fk=Ok.PanelColorSettings;var Pk=Ek([Ck((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,o=a.isBlockSelected,i=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:o(n)||i(n,!0)}}),Lk(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends kk{constructor(...e){var t,n,a;super(...e),a=e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++)t.push(["blockspare/list-item",{}]);return t},(n="getPriceTemplate")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertPriceItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=vk.heading;e=Object.assign({},{},{itemNumber:t,heading:n,active:!1,defaultText:""})}else e=vk;a(xk("blockspare/list-item",e),void 0,n)}render(){const e=this.props,t=(e.align,e.attributes),n=e.backgroundColor,a=(e.isSelectedBlockInRoot,e.setAttributes);e.attributes.uniqueId;return[wp.element.createElement(_k,null,wp.element.createElement(jk,null,wp.element.createElement(Tk,{title:Sk("Block Settings","blockspare")},wp.element.createElement(Fk,{title:Sk("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:n,onChange:e=>a({backgroundColor:e}),label:Sk("Background Color","blockspare")}]}))),wp.element.createElement(Mw,this.props,wp.element.createElement(Dk,{template:this.getPriceTemplate(t),allowedBlocks:["blockspare/list-item"]})))]}});const Yk=wp.element.Component,Nk=wp.blockEditor.InnerBlocks;var zk=class extends Yk{render(){const e=this.props.attributes,t=e.uniqueId,n=(e.itemToggle,e.align),a=(e.backgroundColor,`blockspare-block-pricelist blockspare-blocks blockspare-block-${t} align${n}`);return wp.element.createElement("div",{className:a},wp.element.createElement(Nk.Content,null))}};const Bk=Tw.name,Ak=Tw.category,Hk=Tw.attributes,Ik=wp.i18n.__;(0,wp.blocks.registerBlockType)(Bk,{title:Ik("BS Price List","blockspare"),description:Ik("Add a price list.","blockspare"),category:Ak,icon:r.pricingList,attributes:Hk,keywords:[Ik("block","blockspare"),Ik("price","blockspare"),Ik("list","blockspare"),Ik("table","blockspare"),Ik("pricing","blockspare"),Ik("shop","blockspare"),Ik("purchase","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},edit:Pk,save:zk});var Rk=n(66);const Wk=wp.i18n.__,Uk=wp.element.Component,Gk=wp.blockEditor.InspectorControls,Vk=wp.components,qk=(Vk.Toolbar,Vk.Button,Vk.PanelBody),$k=(Vk.PanelRow,Vk.RangeControl);class Jk extends Uk{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.columns,a=t.columnsGap,r=t.marginTop,o=t.marginBottom,i=(e.isSelected,e.className,e.setAttributes);return wp.element.createElement(Gk,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper pricing-table-blockspare"},wp.element.createElement(qk,{title:Wk("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement($k,{label:Wk("Pricing Columns","blockspare"),value:n,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:3,withInputField:!1}),wp.element.createElement($k,{label:Wk("Pricing Columns Gap","blockspare"),value:a,withInputField:!1,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:4,step:1})),wp.element.createElement(qk,{title:Wk("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:r,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>i({marginTop:e}),marginEnableBottom:!0,marginBottom:o,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>i({marginBottom:e})}))))}}const Xk=wp.element.Component;class Kk extends Xk{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.columns,a=(t.columnsGap,t.align),r=(e.attributes,i()([this.props.className,"blockspare-pricing-columns-"+n],{["align"+a]:a}));return wp.element.createElement("div",{className:r||void 0},this.props.children)}}n(480),n(481);var Qk=n(32);const Zk=wp.i18n.__,e_=wp.element,t_=e_.Component,n_=(e_.Fragment,wp.blockEditor),a_=n_.InspectorControls,r_=(n_.BlockDescription,n_.MediaUpload,n_.PanelColorSettings),o_=wp.components,i_=(o_.Dashicon,o_.Button,o_.PanelBody),l_=(o_.SelectControl,o_.FormToggle,o_.RangeControl);o_.TextControl,o_.ToggleControl;class s_ extends t_{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.borderWidth,a=t.borderColor,r=(t.borderRadius,t.backgroundColor),o=t.padding,i=t.sectionScale,l=(t.enableBadge,t.badgeText,t.badgeStyle,t.badgeOption,t.imgID1,t.imgURL1,t.imgAlt1,t.badgeTextColor,t.badgeBackGroundColor,t.badgeImgSize,t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,e.isSelected,e.className,e.setAttributes);Zk("Style 1","blockspare"),Zk("Style 2","blockspare"),Zk("Style 3","blockspare"),Zk("Text","blockspare"),Zk("Image","blockspare");return wp.element.createElement(a_,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(i_,{title:Zk("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(l_,{label:Zk("Pricing Column Padding","blockspare"),value:o,onChange:e=>this.props.setAttributes({padding:e}),min:0,max:20,step:1}),wp.element.createElement(l_,{label:Zk("Pricing Column Border","blockspare"),value:n,onChange:e=>this.props.setAttributes({borderWidth:e}),min:0,max:10,step:1}),wp.element.createElement(l_,{label:Zk("Scale Ratio","blockspare"),value:i,onChange:e=>this.props.setAttributes({sectionScale:e}),min:0,max:2,step:1})),wp.element.createElement(i_,{title:Zk("Color Settings","blockspare"),initialOpen:!1},0<n&&wp.element.createElement(r_,{title:Zk("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:e=>l({borderColor:e}),label:Zk("Border Color","blockspare")}]}),wp.element.createElement(r_,{title:Zk("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:r,onChange:e=>l({backgroundColor:e}),label:Zk("Background Color","blockspare")}]}))))}}function c_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function u_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c_(Object(n),!0).forEach((function(t){p_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d_=e=>{const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,o=t.backgroundColor,i=t.padding,l=(t.color,t.badgeBackGroundColor),s=t.badgeImgSize,c=t.badgeTextColor,u=[];return u.push({".blockspare-block-pricing-table-inside":u_({},Jo(e.attributes),{borderWidth:n?n+"px":null,borderStyle:0<n?"solid":null,borderColor:a||"#fff",borderRadius:r||null,backgroundColor:o||null,padding:i?i+"px":"5px"}),".blockspare-badge span":{color:c||"#fff",backgroundColor:l},".blockspare-badge-image":{width:s+"px"}}),dt.a.all(u)};wp.i18n.__;const m_=wp.element,f_=m_.Component,b_=m_.Fragment,g_=wp.compose.compose,h_=wp.blockEditor,y_=h_.InnerBlocks,v_=(h_.AlignmentToolbar,h_.BlockControls,["blockspare/blockspare-pricing-inner-title","blockspare/blockspare-pricing-inner-price","blockspare/blockspare-pricing-inner-description","blockspare/blockspare-pricing-inner-button","blockspare/blockspare-iconset"]);var w_=g_(ut,lt(d_))(class extends f_{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.padding,t.alignment),a=t.sectionScale,r=t.enableBadge,o=t.badgeText,l=t.badgeStyle,s=t.badgeOption,c=(t.imgID1,t.imgURL1),u=t.imgAlt1,p=(t.badgeTextColor,t.badgeBackGroundColor,t.badgeImgSize,e.attributes,e.isSelected,e.className);e.setAttributes;let d="";return d=r&&o&&"badge-text"===s?l:r&&"badge-image"===s?l+" has-image":"",wp.element.createElement(b_,null,wp.element.createElement(s_,this.props),wp.element.createElement("div",{className:i()(p,n?"blockspare-block-pricing-table-"+n:"blockspare-block-pricing-table-center","blockspare-block-pricing-table")},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-block-pricing-table-inside",d,(m=a,"has-scale-ratio-"+1*Math.round(m)),{"has-scale-ratio":0!==a})},r&&o&&"badge-text"===s&&wp.element.createElement("div",{className:"blockspare-badge-wrapper"},wp.element.createElement("div",{className:"blockspare-badge"},wp.element.createElement("span",{className:i()(l)},o))),r&&"badge-image"===s&&wp.element.createElement("div",{className:i()(l,"blockspare-badge-image")},wp.element.createElement("img",{src:c,alt:u})),wp.element.createElement(y_,{template:[["blockspare/blockspare-iconset",{}],["blockspare/blockspare-pricing-inner-title",{headerTitle:"<strong> Price Title </strong>",headerSubTitle:"Enter Subtitle",titlePaddingTop:0,titlePaddingBottom:0,subtitlePaddingTop:0,subtitlePaddingBottom:0}],["blockspare/blockspare-pricing-inner-price",{price:"59",currency:"$",customFontSize:32,term:"/mo",paddingTop:10,paddingRight:20,paddingBottom:10,paddingLeft:20}],["blockspare/blockspare-pricing-inner-description",{features:"<li>40 Team Members</li><li>40 Personal Contacts</li><li>4000 Message</li>",multilineTag:"li",ordered:!1,customFontSize:16,FontSize:"small",paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}],["blockspare/blockspare-pricing-inner-button",{buttonText:"Get Started",paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}]],allowedBlocks:v_,renderAppender:!1}))));var m}});wp.i18n.__;const k_=wp.element,__=k_.Component,S_=(k_.Fragment,wp.compose.compose),E_=wp.blockEditor.InnerBlocks;var T_=S_(ut,lt(d_))(class extends __{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.alignment),a=(t.padding,t.sectionScale),r=t.enableBadge,o=t.badgeText,l=t.badgeStyle,s=t.badgeOption,c=(t.imgID1,t.imgURL1),u=t.imgAlt1,p=(t.badgeTextColor,t.badgeBackGroundColor,t.badgeImgSize,e.className);e.attributes;let d="";return d=r&&o&&"badge-text"===s?l:r&&"badge-image"===s?l+" has-image":"",wp.element.createElement("div",{className:i()(p,n?"blockspare-block-pricing-table-"+n:"blockspare-block-pricing-table-center","blockspare-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-block-pricing-table-inside",d,(m=a,"has-scale-ratio-"+1*Math.round(m)),{"has-scale-ratio":0!==a})},r&&o&&"badge-text"===s&&wp.element.createElement("div",{className:"blockspare-badge-wrapper"},wp.element.createElement("div",{className:"blockspare-badge"},wp.element.createElement("span",{className:i()(l)},o))),r&&"badge-image"===s&&wp.element.createElement("div",{className:i()(l,"blockspare-badge-image")},wp.element.createElement("img",{src:c,alt:u})),wp.element.createElement(E_.Content,null)));var m}});function x_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function M_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x_(Object(n),!0).forEach((function(t){C_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const L_=wp.blockEditor.InnerBlocks;var O_=[{attributes:M_({},Qk.attributes,{},an),save:function(e){const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,o=t.backgroundColor,l=t.alignment,s=t.padding,c=t.sectionScale,u=t.enableBadge,p=t.badgeText,d=t.badgeStyle,m=t.badgeOption,f=(t.imgID1,t.imgURL1),b=t.imgAlt1,g=t.badgeTextColor,h=t.badgeBackGroundColor,y=t.badgeImgSize,v=M_({},Jo(e.attributes),{borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:a||null,borderRadius:r||null,backgroundColor:o||"#fff",padding:s?s+"%":null}),w={color:g||"#fff",backgroundColor:h},k={width:y+"px"};let _="";return _=u&&p&&"badge-text"===m?d:u&&"badge-image"===m?d+" has-image":"",wp.element.createElement("div",{className:i()(l?"blockspare-block-pricing-table-"+l:"blockspare-block-pricing-table-center","blockspare-block-pricing-table"),itemScope:!0,itemType:"http://schema.org/Product"},wp.element.createElement("div",{className:i()("blockspare-block-pricing-table-inside",_,(S=c,"has-scale-ratio-"+1*Math.round(S)),{"has-scale-ratio":0!==c}),style:v},u&&p&&"badge-text"===m&&wp.element.createElement("div",{className:"blockspare-badge-wrapper"},wp.element.createElement("div",{className:"blockspare-badge"},wp.element.createElement("span",{className:i()(d),style:w},p))),u&&"badge-image"===m&&wp.element.createElement("div",{className:i()(d),style:k},wp.element.createElement("img",{src:f,alt:b})),wp.element.createElement(L_.Content,null)));var S}}];function D_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function j_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const F_=wp.i18n.__,P_=wp.blocks.registerBlockType,Y_=(Qk.name,Qk.category),N_=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D_(Object(n),!0).forEach((function(t){j_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Qk.attributes,{},an),z_={title:F_("BS Pricing Column","blockspare"),description:F_("Add a pricing column.","blockspare"),icon:r.pricingTable,category:Y_,parent:["blockspare/blockspare-pricing"],keywords:[F_("pricing","blockspare"),F_("shop","blockspare"),F_("buy","blockspare")],attributes:N_,edit:w_,save:T_,deprecated:O_};P_("blockspare/blockspare-pricing-inner",z_);var B_=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=[];return r.push({".blockspare-pricing-block-wrapper":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0}}),dt.a.all(r)};function A_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function H_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const I_=wp.element,R_=I_.Component,W_=I_.Fragment,U_=(wp.i18n.__,wp.compose.compose),G_=wp.blocks.createBlock,V_=wp.data,q_=V_.withSelect,$_=V_.withDispatch,J_=wp.blockEditor.InnerBlocks;var X_=U_([q_((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,o=a.isBlockSelected,i=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:o(n)||i(n,!0)}}),$_(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}}),ut,lt(B_)])(class extends R_{constructor(...e){super(...e),H_(this,"getServiceTemplate",e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++)t.push(["blockspare/blockspare-pricing-inner",{}]);return t})}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertServiceItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=z_.heading;e=Object.assign({},{},{itemNumber:t,heading:n,active:!1,defaultText:""})}else e=z_;a(G_("blockspare/blockspare-pricing-inner",e),void 0,n)}render(){const e=this.props,t=e.attributes,n=t.columns,a=(t.marginTop,t.marginBottom,t.columnsGap),r=e.attributes,o=e.className,l=e.setAttributes,s=i()(["blockspare-pricing-columns-"+n]),c=i()([o,"blockspare-main-blockwrapper"]);return wp.element.createElement(W_,null,wp.element.createElement(Jk,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A_(Object(n),!0).forEach((function(t){H_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:l},this.props)),wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-pricing-block-wrapper"},wp.element.createElement("div",{className:s},wp.element.createElement("div",{className:i()("blockspare-pricing-table-wrap-admin","blockspare-block-pricing-table-gap-"+a)},wp.element.createElement(J_,{template:this.getServiceTemplate(r),allowedBlocks:["blockspare/blockspare-pricing-inner"],renderAppender:!1}))))))}});wp.i18n.__;const K_=wp.element.Component,Q_=wp.compose.compose,Z_=wp.blockEditor.InnerBlocks;var eS=Q_(ut,lt(B_))(class extends K_{render(){const e=this.props,t=e.attributes,n=(t.align,t.columns),a=t.columnsGap,r=(t.marginTop,t.marginBottom,e.className),o=i()(["blockspare-pricing-table-wrap","blockspare-block-pricing-table-gap-"+a]),l=i()(["blockspare-pricing-columns-"+n]),s=i()([r,"blockspare-main-blockwrapper"]);return wp.element.createElement("div",{className:s},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-pricing-block-wrapper")},wp.element.createElement("div",{className:l},wp.element.createElement("div",{className:o||void 0},wp.element.createElement(Z_.Content,null)))))}});const tS=wp.blockEditor.InnerBlocks;var nS=[{attributes:{columns:{type:"number",default:2},columnsGap:{type:"number",default:1},align:{type:"string",default:"center"},defaultItems:{type:"number",default:2},marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}},save:function(e){const t=e.attributes,n=t.align,a=(t.columns,t.columnsGap),r=t.marginTop,o=t.marginBottom,l=i()(["blockspare-pricing-table-wrap","blockspare-block-pricing-table-gap-"+a]);return wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-pricing-block-wrapper","align"+n),style:{marginTop:r?r+"px":void 0,marginBottom:o?o+"px":void 0}},wp.element.createElement(Kk,e,wp.element.createElement("div",{className:l||void 0},wp.element.createElement(tS.Content,null))))}}];const aS=wp.i18n.__,rS=wp.blocks.registerBlockType,oS=(wp.blockEditor.InnerBlocks,Rk.name),iS=Rk.category,lS=Rk.attributes;rS(oS,{title:aS("BS Pricing Table","blockspare"),description:aS("Add a pricing table.","blockspare"),category:iS,icon:r.pricingTable,attributes:lS,keywords:[aS("block","blockspare"),aS("price","blockspare"),aS("list","blockspare"),aS("table","blockspare"),aS("pricing","blockspare"),aS("shop","blockspare"),aS("purchase","blockspare")],supports:{align:["wide","full","center"],html:!0},example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},edit:X_,save:eS,deprecated:nS});var sS=n(96);const cS=wp.i18n.__,uS=wp.element.Component,pS=(wp.compose.compose,wp.blockEditor.InspectorControls),dS=wp.components,mS=(dS.withFallbackStyles,dS.PanelBody),fS=dS.SelectControl;class bS extends uS{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.subtitleFontSize,t.headerTagOption),a=t.headertitleColor,r=t.headersubtitleColor,o=t.headerlayoutOption,i=t.titlePaddingTop,l=t.titlePaddingBottom,s=t.subtitlePaddingTop,c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontSize,m=t.titleLoadGoogleFonts,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSubset,h=t.titleFontSizeType,y=t.titleFontSizeMobile,v=t.titleFontSizeTablet,w=t.subTitleFontSize,k=t.subTitleLoadGoogleFonts,_=t.subTitleFontFamily,S=t.subTitleFontWeight,E=t.subTitleFontSubset,T=t.subTitleFontSizeType,x=t.subTitleFontSizeMobile,M=t.subTitleFontSizeTablet,C=e.attributes,L=e.setAttributes,O=[{value:"blockspare-style1",label:cS("Layout 1","blockspare")},{value:"blockspare-style2",label:cS("Layout 2","blockspare")},{value:"blockspare-style3",label:cS("Layout 3","blockspare")}];return wp.element.createElement(pS,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(mS,{title:cS("Header Settings","blockspare"),initialOpen:!0},wp.element.createElement(mS,{title:cS("Layouts","blockspare"),initialOpen:!1},wp.element.createElement(fS,{label:cS("Header Style","blockspare"),value:o,options:O.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>this.props.setAttributes({headerlayoutOption:e})})),wp.element.createElement(mS,{title:cS("Typography Settings","blockspare")},wp.element.createElement(ho,{label:cS("Title Fonts Settings"),attributes:C,setAttributes:L,loadGoogleFonts:{value:m,label:cS("titleLoadGoogleFonts")},fontFamily:{value:f,label:cS("titleFontFamily")},fontWeight:{value:b,label:cS("titleFontWeight")},fontSubset:{value:g,label:cS("titleFontSubset")},fontSizeType:{value:h,label:cS("titleFontSizeType")},fontSize:{value:d,label:cS("titleFontSize")},fontSizeMobile:{value:y,label:cS("titleFontSizeMobile")},fontSizeTablet:{value:v,label:cS("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:n}),wp.element.createElement(ho,{label:cS("Subtitle Fonts Settings"),attributes:C,setAttributes:L,loadGoogleFonts:{value:k,label:cS("subTitleLoadGoogleFonts")},fontFamily:{value:_,label:cS("subTitleFontFamily")},fontWeight:{value:S,label:cS("subTitleFontWeight")},fontSubset:{value:E,label:cS("subTitleFontSubset")},fontSizeType:{value:T,label:cS("subTitleFontSizeType")},fontSize:{value:w,label:cS("subTitleFontSize")},fontSizeMobile:{value:x,label:cS("subTitleFontSizeMobile")},fontSizeTablet:{value:M,label:cS("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),wp.element.createElement(pn,{enableBlockGaps:!1,headerboxColor:p,onChangeboxcolor:e=>L({headerboxColor:e}),dashColor:u,headerlayoutOption:o,onChangeDashColor:e=>L({dashColor:e}),headertitleColor:a,onChangetitlecolor:e=>L({headertitleColor:e}),titlePaddingTop:i,onChangetitlePaddingTop:e=>L({titlePaddingTop:e}),titlePaddingBottom:l,onChangetitlePaddingBottom:e=>L({titlePaddingBottom:e}),headersubtitleColor:r,onChangesubtitlecolor:e=>L({headersubtitleColor:e}),subtitlePaddingTop:s,onChangesubtitlePaddingTop:e=>L({subtitlePaddingTop:e}),subtitlePaddingBottom:c,onChangesubtitlePaddingBottom:e=>L({subtitlePaddingBottom:e})}))))}}var gS=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,o=t.titlePaddingTop,i=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,y=(t.subTitleLoadGoogleFonts,t.subTitleFontFamily),v=t.subTitleFontWeight,w=(t.subTitleFontSubset,t.subTitleFontSizeType),k=t.subTitleFontSizeMobile,_=t.subTitleFontSizeTablet,S=t.headerpaddingTop,E=(t.headerpaddingRight,t.headerpaddingBottom),T=(t.headerpaddingLeft,t.headermarginTop,t.headermarginBottom,[]);return T.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:S+"px",paddingBottom:E+"px"}}),T.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:o+"px ",paddingBottom:i+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+w,fontFamily:y,fontWeight:v,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-title":{fontSize:g+f},".blockspare-subtitle":{fontSize:_+w}},mobile:{".blockspare-title":{fontSize:b+f},".blockspare-subtitle":{fontSize:k+w}}}),dt.a.all(T)};function hS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function yS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hS(Object(n),!0).forEach((function(t){vS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const wS=wp.element,kS=wS.Component,_S=wS.Fragment,SS=(wp.i18n.__,wp.compose.compose),ES=wp.blockEditor,TS=(ES.RichText,ES.AlignmentToolbar),xS=ES.BlockControls;var MS=SS(ut,lt(gS))(class extends kS{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTagOption,o=t.headerTitle,l=t.headerSubTitle,s=t.headerlayoutOption,c=t.titleLoadGoogleFonts,u=t.titleFontFamily,p=t.titleFontWeight,d=t.subTitleLoadGoogleFonts,m=t.subTitleFontFamily,f=t.subTitleFontWeight,b=e.className,g=e.attributes,h=e.setAttributes,y=(yS({},Di(g)),yS({},ji(g)),yS({},Fi(g)),i()([b,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return[wp.element.createElement(_S,null,wp.element.createElement(xS,{key:"controls"},wp.element.createElement(TS,{value:a,onChange:e=>{h({sectionAlignment:e})}})),wp.element.createElement(bS,this.props),wp.element.createElement("div",{className:y},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement($o,{setAttributes:h,headerTitle:o,headerTagOption:r,headerSubTitle:l,titleFontFamily:u,titleFontWeight:p,titleLoadGoogleFonts:c,subTitleLoadGoogleFonts:d,subTitleFontFamily:m,subTitleFontWeight:f}))))]}});const CS=wp.element.Component,LS=(wp.i18n.__,wp.compose.compose);var OS=LS(ut,lt(gS))(class extends CS{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTitle,o=t.headerTagOption,l=t.headerSubTitle,s=t.headerlayoutOption,c=e.className,u=(e.attributes,e.setAttributes,e.isSelected,i()([c,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(Ei,{headerTitle:r,headerTagOption:o,headerSubTitle:l})))}});function DS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function jS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const FS=wp.element.Component;class PS extends FS{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerlayoutOption,o=e.attributes,l=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?DS(Object(n),!0).forEach((function(t){jS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ai(o)));return wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks","align"+n),style:l},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",r,"blockspare-"+a)},this.props.children))}}function YS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function NS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?YS(Object(n),!0).forEach((function(t){zS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const BS=wp.editor,AS=BS.RichText;BS.getFontSizeClass,BS.getColorClassName;var HS=[{attributes:NS({},nn),save:function(e){const t=e.attributes,n=t.headerTagOption,a=t.headerTitle,r=t.headerSubTitle,o=NS({},Di(e.attributes)),i=NS({},ji(e.attributes)),l=NS({},Fi(e.attributes));return wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement(PS,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:o}),a&&wp.element.createElement(AS.Content,{tagName:n,className:"blockspare-title",style:i,value:a}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:o})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:o}),r&&wp.element.createElement(AS.Content,{tagName:"p",className:"blockspare-subtitle",style:l,value:r}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:o}))))}}];function IS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function RS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const WS=sS.name,US=sS.category,GS=wp.i18n.__,VS=wp.blocks.registerBlockType,qS=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?IS(Object(n),!0).forEach((function(t){RS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},nn);VS(WS,{title:GS("Price Title","blockspare"),description:GS("Add a product title component with schema markup.","blockspare"),category:US,icon:r.sectionHeader,attributes:qS,parent:["blockspare/blockspare-pricing-inner"],keywords:[GS("pricing table","blockspare"),GS("title","blockspare"),GS("shop","blockspare")],edit:MS,save:OS,deprecated:HS});var $S=n(33);const JS=wp.i18n.__,XS=wp.element.Component,KS=(wp.compose.compose,wp.blockEditor),QS=KS.InspectorControls,ZS=(KS.FontSizePicker,KS.withFontSizes,KS.withColors,KS.ContrastChecker,KS.PanelColorSettings),eE=wp.components,tE=(eE.withFallbackStyles,eE.PanelBody),nE=eE.ToggleControl,aE=eE.TextControl;eE.RangeControl;class rE extends XS{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.showTerm,a=t.showCurrency,r=t.term,o=t.currency,i=t.paddingTop,l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.priceUnitFontSize,p=t.priceUnitLoadGoogleFonts,d=t.priceUnitFontFamily,m=t.priceUnitFontWeight,f=t.priceUnitFontSubset,b=t.priceUnitFontSizeType,g=t.priceUnitFontSizeMobile,h=t.priceUnitFontSizeTablet,y=(t.backgroundColor,t.priceColor),v=e.attributes,w=e.setAttributes;return wp.element.createElement(QS,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(tE,{title:JS("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(nE,{label:JS("Show currency symbol","blockspare"),checked:a,onChange:()=>this.props.setAttributes({showCurrency:!a})}),a&&wp.element.createElement(aE,{label:JS("Currency Symbol","blockspare"),type:"text",value:o,onChange:e=>this.props.setAttributes({currency:e})}),wp.element.createElement(nE,{label:JS("Show pricing duration","blockspare"),checked:n,onChange:()=>this.props.setAttributes({showTerm:!n})}),n&&wp.element.createElement(aE,{label:JS("Pricing Duration","blockspare"),type:"text",value:r,onChange:e=>this.props.setAttributes({term:e})})),wp.element.createElement(tE,{title:JS("Typography Settings","blockspare")},wp.element.createElement(ho,{label:JS("Price Fonts Settings"),attributes:v,setAttributes:w,loadGoogleFonts:{value:p,label:JS("priceUnitLoadGoogleFonts")},fontFamily:{value:d,label:JS("priceUnitFontFamily")},fontWeight:{value:m,label:JS("priceUnitFontWeight")},fontSubset:{value:f,label:JS("priceUnitFontSubset")},fontSizeType:{value:b,label:JS("priceUnitFontSizeType")},fontSize:{value:u,label:JS("priceUnitFontSize")},fontSizeMobile:{value:g,label:JS("priceUnitFontSizeMobile")},fontSizeTablet:{value:h,label:JS("priceUnitFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(ZS,{title:JS("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:y,onChange:e=>w({priceColor:e}),label:JS("Text Color","blockspare")}]}),wp.element.createElement(tE,{title:JS("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:i,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>w({paddingTop:e}),paddingEnableRight:!0,paddingRight:l,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>w({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:s,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>w({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:c,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>w({paddingLeft:e})}))))}}var oE=e=>{const t=e.attributes,n=t.sectionAlignment,a=(t.price,t.currency,t.fontSize,t.customFontSize,t.backgroundColor,t.priceColor),r=(t.customBackgroundColor,t.customTextColor,t.term,t.showTerm,t.showCurrency,t.paddingTop),o=t.paddingRight,i=t.paddingBottom,l=t.paddingLeft,s=t.priceUnitFontSize,c=t.priceUnitFontFamily,u=t.priceUnitFontWeight,p=t.priceUnitFontSizeType,d=t.priceUnitFontSizeMobile,m=t.priceUnitFontSizeTablet;var f=s,b=Math.floor(f/2.5),g=Math.floor(f/2.5),h=m,y=Math.floor(h/2.5),v=Math.floor(y/2.5),w=d,k=Math.floor(w/1.5),_=Math.floor(k/1.5);const S=[];return S.push({".blockspare-pricing-table-price-wrap":{textAlign:n,paddingTop:r?r+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:i?i+"px":void 0,paddingLeft:l?l+"px":void 0},".blockspare-pricing-table-price":{color:a,fontSize:s+p,fontFamily:c,fontWeight:u},".blockspare-pricing-table-currency":{color:a,fontSize:b+"px",fontFamily:c,fontWeight:u},".blockspare-pricing-table-term":{color:a,fontSize:g+"px",fontFamily:c,fontWeight:u},tablet:{".blockspare-pricing-table-price":{fontSize:m+p},".blockspare-pricing-table-currency":{fontSize:y+p},".blockspare-pricing-table-term":{fontSize:v+p}},mobile:{".blockspare-pricing-table-price":{fontSize:d+p},".blockspare-pricing-table-currency":{fontSize:k+p},".blockspare-pricing-table-term":{fontSize:_+p}}}),dt.a.all(S)};const iE=wp.i18n.__,lE=(wp.blocks.registerBlockType,wp.compose.compose),sE=wp.element,cE=sE.Component,uE=sE.Fragment,pE=wp.blockEditor,dE=pE.RichText,mE=(pE.withFontSizes,pE.withColors,pE.AlignmentToolbar),fE=pE.BlockControls;var bE=lE([ut,lt(oE)])(class extends cE{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.price,r=t.currency,o=t.term,l=t.showTerm,s=t.showCurrency,c=(t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft,t.priceUnitLoadGoogleFonts),u=t.priceUnitFontFamily,p=t.priceUnitFontWeight,d=(e.isSelected,e.className),m=e.setAttributes;e.fallbackFontSize,e.fontSize,e.backgroundColor,e.textColor;let f;if(1==c){const e={google:{families:[u+(p?":"+p:"")]}};f=wp.element.createElement(Io,{config:e})}const b=i()({"blockspare-pricing-table-price-wrap":!0,"blockspare-pricing-has-currency":s}),g=i()({"blockspare-pricing-table-price":!0}),h=i()([d,"blockpare-priceunit"]);return[wp.element.createElement(uE,null,wp.element.createElement(fE,{key:"controls"},wp.element.createElement(mE,{value:n,onChange:e=>{m({sectionAlignment:e})}})),wp.element.createElement(rE,this.props),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:b||void 0},wp.element.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},s&&wp.element.createElement(dE,{tagName:"span",itemProp:"priceCurrency",placeholder:iE("$","blockspare"),keepPlaceholderOnFocus:!0,value:r,className:"blockspare-pricing-table-currency"}),wp.element.createElement(dE,{tagName:"div",itemProp:"price",placeholder:iE("49","blockspare"),keepPlaceholderOnFocus:!0,value:a,onChange:e=>m({price:e}),className:g||void 0,className:"blockspare-pricing-table-price"}),l&&wp.element.createElement(dE,{tagName:"span",value:o,placeholder:iE("/mo","blockspare"),keepPlaceholderOnFocus:!0,onChange:e=>m({term:e}),className:"blockspare-pricing-table-term"})))),f)]}});wp.i18n.__;const gE=wp.element,hE=gE.Component,yE=(gE.Fragment,wp.compose.compose),vE=wp.blockEditor,wE=vE.RichText;vE.getFontSizeClass,vE.getColorClassName;var kE=yE(ut,lt(oE))(class extends hE{render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.price),a=t.currency,r=(t.fontSize,t.customFontSize,t.backgroundColor,t.textColor,t.customBackgroundColor,t.customTextColor,t.term),o=t.showTerm,l=t.showCurrency,s=(t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft,e.className),c=i()({"blockspare-pricing-table-price-wrap":!0,"blockspare-pricing-has-currency":l}),u=i()({"blockspare-pricing-table-price":!0}),p=i()([s,"blockpare-priceunit"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:c||void 0},wp.element.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},a&&l&&wp.element.createElement(wE.Content,{tagName:"span",itemProp:"priceCurrency",value:a,className:"blockspare-pricing-table-currency"}),wp.element.createElement(wE.Content,{tagName:"div",itemProp:"price",value:n,className:u||void 0}),r&&o&&wp.element.createElement(wE.Content,{tagName:"span",value:r,className:"blockspare-pricing-table-term"}))))}});function _E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function SE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const EE=wp.element,TE=(EE.Component,EE.Fragment,wp.blockEditor),xE=TE.RichText,ME=TE.getFontSizeClass,CE=TE.getColorClassName;var LE=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_E(Object(n),!0).forEach((function(t){SE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},$S.attributes),save:function(e){const t=e.attributes,n=t.sectionAlignment,a=t.price,r=t.currency,o=t.fontSize,l=t.customFontSize,s=t.backgroundColor,c=t.textColor,u=t.customBackgroundColor,p=(t.customTextColor,t.term),d=t.showTerm,m=t.showCurrency,f=t.paddingTop,b=t.paddingRight,g=t.paddingBottom,h=t.paddingLeft,y=ME(o),v=(CE("color",c),CE("background-color",s)),w=i()({"has-background":s||u,"blockspare-pricing-table-price-wrap":!0,[v]:v,"blockspare-pricing-has-currency":m&&r}),k=i()({"blockspare-pricing-table-price":!0,[y]:y}),_={textAlign:n,backgroundColor:v?void 0:u,color:c||"#af0000",paddingTop:f?f+"px":void 0,paddingRight:b?b+"px":void 0,paddingBottom:g?g+"px":void 0,paddingLeft:h?h+"px":void 0},S={fontSize:y?void 0:l};var E=y?void 0:l,T=Math.floor(E/2.5);const x={fontSize:E?T+"px":void 0};var M=Math.floor(E/2.5);const C={fontSize:E?M+"px":void 0};return wp.element.createElement("div",{className:w||void 0,style:_},wp.element.createElement("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer"},r&&m&&wp.element.createElement(xE.Content,{tagName:"span",itemProp:"priceCurrency",value:r,className:"blockspare-pricing-table-currency",style:x}),wp.element.createElement(xE.Content,{tagName:"div",itemProp:"price",value:a,className:k||void 0,style:S}),p&&d&&wp.element.createElement(xE.Content,{tagName:"span",value:p,className:"blockspare-pricing-table-term",style:C})))}}];const OE=wp.i18n.__,DE=wp.blocks.registerBlockType,jE=$S.name,FE=$S.category,PE=$S.attributes;DE(jE,{title:OE("Price","blockspare"),description:OE("Adds a product price component with schema markup.","blockspare"),icon:r.price,category:FE,parent:["blockspare/blockspare-pricing-inner"],keywords:[OE("pricing table","blockspare"),OE("title","blockspare"),OE("shop","blockspare")],attributes:PE,edit:bE,save:kE,deprecated:LE});var YE=n(67);var NE=e=>{const t=e.attributes,n=t.sectionAlignment,a=(t.customFontSize,t.descriptionBacgroundColor),r=t.borderColor,o=t.paddingTop,i=t.paddingRight,l=t.paddingBottom,s=t.paddingLeft,c=t.color,u=t.descriptionFontSize,p=t.descriptionFontFamily,d=t.descriptionFontWeight,m=(t.descriptionFontSubset,t.descriptionFontSizeType),f=t.descriptionFontSizeMobile,b=t.descriptionFontSizeTablet,g=[];let h;return h=16===u?u-2:u,g.push({".blockspare-list-wrap":{backgroundColor:a,borderColor:r||void 0,paddingTop:o?o+"px":void 0,paddingRight:i?i+"px":void 0,paddingBottom:l?l+"px":void 0,paddingLeft:s?s+"px":void 0},".blockspare-pricing-table-features li":{textAlign:n,color:c||"#000",fontSize:u+m,fontFamily:p,fontWeight:d},".blockspare-pricing-table-features li:before":{fontSize:h+m},tablet:{".blockspare-pricing-table-features":{fontSize:b+m}},mobile:{"blockspare-pricing-table-features":{fontSize:f+m}}}),dt.a.all(g)};const zE=wp.i18n.__,BE=wp.element.Component,AE=(wp.compose.compose,wp.blockEditor),HE=AE.InspectorControls,IE=(AE.FontSizePicker,AE.withFontSizes,AE.withColors,AE.ContrastChecker,AE.PanelColorSettings),RE=(AE.ColorPalette,wp.components),WE=(RE.withFallbackStyles,RE.PanelBody);RE.PanelRow,RE.SelectControl,RE.BaseControl,RE.RangeControl;class UE extends BE{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.borderStyle,t.borderColor,t.borderWidth,t.descriptionBacgroundColor),a=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,l=t.name,s=t.listType,c=t.orderListStyle,u=t.color,p=t.descriptionFontSize,d=t.descriptionFontFamily,m=t.descriptionFontWeight,f=t.descriptionFontSubset,b=t.descriptionFontSizeType,g=t.descriptionFontSizeMobile,h=t.descriptionFontSizeTablet,y=t.descriptionLoadGoogleFonts,v=e.attributes,w=e.setAttributes;e.fallbackFontSize,e.fontSize,e.setFontSize,e.textColor,e.setBackgroundColor,e.setTextColor,e.fallbackBackgroundColor,e.fallbackTextColor,zE("None"),zE("Solid"),zE("Dotted"),zE("Dashed");return wp.element.createElement(HE,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(WE,{title:zE("Custom List Settings"),initialOpen:!1},wp.element.createElement(Fb,{name:l,onChangeName:e=>w({name:e}),listType:s,onChangeListStyle:e=>w({listType:e}),orderListStyle:c,onChangeOrderListStyle:e=>w({orderListStyle:e}),color:u,onchangeColor:e=>w({color:e})})),wp.element.createElement(WE,{title:zE("Typography Settings","blockspare")},wp.element.createElement(ho,{label:zE("Description Fonts Settings"),attributes:v,setAttributes:w,loadGoogleFonts:{value:y,label:zE("descriptionLoadGoogleFonts")},fontFamily:{value:d,label:zE("descriptionFontFamily")},fontWeight:{value:m,label:zE("descriptionFontWeight")},fontSubset:{value:f,label:zE("descriptionFontSubset")},fontSizeType:{value:b,label:zE("descriptionFontSizeType")},fontSize:{value:p,label:zE("descriptionFontSize")},fontSizeMobile:{value:g,label:zE("descriptionFontSizeMobile")},fontSizeTablet:{value:h,label:zE("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(IE,{title:zE("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:n,onChange:e=>w({descriptionBacgroundColor:e}),label:zE("Background Color","blockspare")}]}),wp.element.createElement(WE,{title:zE("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:a,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>w({paddingTop:e}),paddingEnableRight:!0,paddingRight:r,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>w({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:o,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>w({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:i,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>w({paddingLeft:e})}))))}}const GE=wp.i18n.__,VE=wp.compose.compose,qE=wp.element,$E=qE.Component,JE=qE.Fragment,XE=wp.blockEditor,KE=XE.RichText,QE=(XE.withFontSizes,XE.withColors,XE.AlignmentToolbar),ZE=XE.BlockControls;XE.BlockAlignmentToolbar;var eT=VE([ut,lt(NE)])(class extends $E{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.features,a=t.borderStyle,r=t.borderWidth,o=t.sectionAlignment,l=t.name,s=t.listType,c=t.orderListStyle,u=(t.color,t.descriptionLoadGoogleFonts),p=t.descriptionFontFamily,d=t.descriptionFontWeight,m=(e.isSelected,e.className),f=e.setAttributes;e.fallbackFontSize,e.fontSize,e.backgroundColor,e.textColor;let b;if(1==u){const e={google:{families:[p+(d?":"+d:"")]}};b=wp.element.createElement(Io,{config:e})}let g="";g="ul"==s?l:"ol"==s?c:"";const h=i()([m,"blockspare-pirce-description"]);return wp.element.createElement(JE,null,wp.element.createElement(ZE,null,wp.element.createElement(QE,{value:o,onChange:e=>{f({sectionAlignment:e})}})),wp.element.createElement(UE,this.props),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(KE,{tagName:"none"==s?"ul":s,multiline:"li",itemProp:"description",placeholder:GE("Add a product feature","blockspare"),keepPlaceholderOnFocus:!0,value:n,onChange:e=>f({features:e}),className:i()("blockspare-pricing-table-features",a,"blockspare-list-border-width-"+r,g)}))),b)}});wp.i18n.__;const tT=wp.element,nT=tT.Component,aT=(tT.Fragment,wp.compose.compose),rT=wp.blockEditor.RichText;var oT=aT(ut,lt(NE))(class extends nT{render(){const e=this.props,t=e.attributes,n=t.features,a=t.borderStyle,r=t.borderWidth,o=t.name,l=t.listType,s=t.orderListStyle,c=(t.color,e.className);let u="";u="ul"==l?o:"ol"==l?s:"";const p=i()([c,"blockspare-pirce-description"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(rT.Content,{tagName:"none"==l?"ul":l,multiline:"li",itemProp:"description",value:n,className:i()("blockspare-pricing-table-features",a,"blockspare-list-border-width-"+r,u)})))}}),iT=n(97);var lT=e=>{const t=e.attributes,n=t.sectionAlignment,a=(t.customFontSize,t.descriptionBacgroundColor),r=t.borderColor,o=t.paddingTop,i=t.paddingRight,l=t.paddingBottom,s=t.paddingLeft,c=t.color,u=t.descriptionFontSize,p=t.descriptionFontFamily,d=t.descriptionFontWeight,m=(t.descriptionFontSubset,t.descriptionFontSizeType),f=t.descriptionFontSizeMobile,b=t.descriptionFontSizeTablet,g=[];return g.push({".blockspare-list-wrap":{backgroundColor:a,borderColor:r||void 0,paddingTop:o?o+"px":void 0,paddingRight:i?i+"px":void 0,paddingBottom:l?l+"px":void 0,paddingLeft:s?s+"px":void 0},".blockspare-pricing-table-features li":{textAlign:n,color:c||"#000",fontSize:u+m,fontFamily:p,fontWeight:d},".blockspare-pricing-table-features li:before":{fontSize:u+m},tablet:{".blockspare-pricing-table-features":{fontSize:b+m}},mobile:{"blockspare-pricing-table-features":{fontSize:f+m}}}),dt.a.all(g)};wp.i18n.__;const sT=wp.element,cT=sT.Component,uT=(sT.Fragment,wp.compose.compose),pT=wp.blockEditor.RichText;var dT=uT(ut,lt(lT))(class extends cT{render(){const e=this.props,t=e.attributes,n=t.features,a=t.borderStyle,r=t.borderWidth,o=t.name,l=t.listType,s=t.orderListStyle,c=(t.color,e.className);let u="";u="ul"==l?o:"ol"==l?s:"";const p=i()([c,"blockspare-pirce-description"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(pT.Content,{tagName:"none"==l?"ul":l,multiline:"li",itemProp:"description",value:n,className:i()("blockspare-pricing-table-features",a,"blockspare-list-border-width-"+r,u)})))}});function mT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function fT(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mT(Object(n),!0).forEach((function(t){bT(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mT(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const gT=wp.blockEditor,hT=gT.RichText,yT=gT.getFontSizeClass,vT=gT.getColorClassName;var wT=[{attributes:fT({},iT.attributes),save:function(e){const t=e.attributes,n=t.features,a=t.fontSize,r=t.sectionAlignment,o=t.customFontSize,l=t.backgroundColor,s=t.textColor,c=t.customBackgroundColor,u=(t.customTextColor,t.borderStyle),p=t.borderColor,d=t.borderWidth,m=t.paddingTop,f=t.paddingRight,b=t.paddingBottom,g=t.paddingLeft,h=t.name,y=t.listType,v=t.orderListStyle,w=t.color;let k="";k="ul"==y?h:"ol"==y?v:"";const _=yT(a),S=vT("color",s),E=vT("background-color",l),T=i()({"has-background":l||c,"blockspare-pricing-table-features":!0,[_]:_,[S]:S,[E]:E,[u]:u,["blockspare-list-border-width-"+d]:d,[k]:k}),x={textAlign:r,fontSize:_?void 0:o,backgroundColor:E?void 0:c,color:w||"#6d6d6d",borderColor:p||void 0,paddingTop:m?m+"px":void 0,paddingRight:f?f+"px":void 0,paddingBottom:b?b+"px":void 0,paddingLeft:g?g+"px":void 0};return wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-list-wrap")},wp.element.createElement(hT.Content,{tagName:"none"==y?"ul":y,itemProp:"description",value:n,className:T||void 0,style:x}))}},{attributes:fT({},iT.attributes),save:e=>wp.element.createElement(dT,e)}];const kT=wp.i18n.__,_T=wp.blocks.registerBlockType,ST=YE.name,ET=YE.category,TT=YE.attributes;_T(ST,{title:kT("Price Features","blockspare"),description:kT("Adds a product feature component with schema markup.","blockspare"),category:ET,icon:r.iconlist,attributes:TT,parent:["blockspare/blockspare-pricing-inner"],keywords:[kT("pricing table","blockspare"),kT("features","blockspare"),kT("shop","blockspare")],edit:eT,save:oT,deprecated:wT});var xT=n(12);const MT=wp.i18n.__,CT=wp.element.Component,LT=wp.compose.compose,OT=wp.blockEditor,DT=OT.InspectorControls,jT=OT.withFontSizes,FT=OT.withColors,PT=(OT.PanelColorSettings,wp.components),YT=PT.withFallbackStyles,NT=PT.PanelBody,zT=PT.ToggleControl,BT=YT((e,t)=>{const n=t.attributes.backgroundColor,a=e.querySelector('[contenteditable="true"]'),r=a?getComputedStyle(a):null;return{fallbackBackgroundColor:n||!r?void 0:r.backgroundColor}});var AT=LT([BT,jT("fontSize"),FT("backgroundColor")])(class extends CT{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonStyle,a=t.borderColor,r=t.borderBtnTextColor,o=t.buttonBackgroundColor,i=t.buttonTextColor,l=t.buttonSize,s=t.buttonShape,c=t.buttonTarget,u=t.paddingTop,p=t.paddingBottom,d=t.enableGradient,m=t.backgroundColor1,f=t.backgroundColor2,b=t.gradientAngle,g=t.colorLocation1,h=t.colorLocation2,y=t.btnFontWeight,v=t.btnBorderWidth,w=t.buttonHoverEffect,k=e.setAttributes;e.backgroundColor,e.setBackgroundColor;return wp.element.createElement(DT,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(NT,{title:MT("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(_e,{enableButtonTarget:!1,buttonTarget:c,onChangeButtonTarget:e=>k({buttonTarget:!c}),enableGradient:d,onChangeGradient:e=>k({enableGradient:e}),enableButtonSize:!0,buttonSize:l,onChangeButtonSize:e=>k({buttonSize:e}),enableButtonShape:!0,buttonShape:s,onChangeButtonShape:e=>k({buttonShape:e}),buttonBackgroundColor:o,onChangeButtonColor:e=>k({buttonBackgroundColor:e}),buttonTextColor:i,onChangeButtonTextColor:e=>k({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:n,onChangeBorderStyle:e=>k({buttonStyle:e}),buttonHoverEffect:w,onchangeButtonHoverEffect:e=>k({buttonHoverEffect:e}),borderColor:a,onchangeBorderColor:e=>k({borderColor:e}),borderBtnTextColor:r,onChangeBorderBtnTextColor:e=>k({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:v,onchangebtnBorderWidth:e=>k({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:y,onchangeBtnFontWeight:e=>k({btnFontWeight:e})}),"none"===n&&wp.element.createElement(zT,{label:MT("Enable Gradient","blockspare"),checked:d,onChange:()=>this.props.setAttributes({enableGradient:!d})}),d&&"none"===n&&wp.element.createElement(NT,{title:MT("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Me,{backgroundColor1:m,onChangeBackgroundColor1:e=>k({backgroundColor1:e}),backgroundColor2:f,onChangeBackgroundColor2:e=>k({backgroundColor2:e}),gradientAngle:b,onChangeGradientAngle:e=>k({gradientAngle:e}),colorLocation1:g,onChangeColorLocation1:e=>k({colorLocation1:e}),colorLocation2:h,onChangeColorLocation2:e=>k({colorLocation2:e})}))),wp.element.createElement(NT,{title:MT("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:u,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>k({paddingTop:e}),paddingEnableBottom:!0,paddingBottom:p,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>k({paddingBottom:e})}))))}});var HT=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,l=t.buttonStyle,s=t.enableGradient,c=t.backgroundColor1,u=t.backgroundColor2,p=t.gradientAngle,d=t.colorLocation1,m=t.colorLocation2,f=t.btnFontWeight,b=t.btnBorderWidth,g=t.borderColor,h=t.buttonBackgroundColor,y=t.borderBtnTextColor,v=t.buttonTextColor,w=[];if(w.push({".blockspare-block-button":{textAlign:n},".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:o?o+"px":"0px",paddingLeft:i?i+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),"none"===l)if(1==s){const e=p+"deg",t=d+"%",n=m+"%";w.push({".blockspare-block-button span":{color:v||"#fff",fontWeight:f,borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${c||"#3B1A5B"} ${t},${u||"#8B249C"} ${n})`}})}else w.push({".blockspare-block-button span":{color:v||"#fff",fontWeight:f,borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:h||"#3c1a5b"}});else w.push({".blockspare-block-button span":{color:y||"#404040",borderColor:g||"#3c1a5b",borderStyle:l,fontWeight:f,borderWidth:b+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return dt.a.all(w)};const IT=wp.i18n.__,RT=wp.compose.compose,WT=wp.element,UT=WT.Component,GT=WT.Fragment,VT=wp.blockEditor,qT=VT.RichText,$T=VT.AlignmentToolbar,JT=VT.BlockControls,XT=VT.URLInput,KT=wp.components,QT=KT.IconButton,ZT=KT.Dashicon;var ex=RT([ut,lt(HT)])(class extends UT{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.sectionAlignment,o=t.buttonSize,l=t.buttonShape,s=t.buttonHoverEffect,c=e.className,u=e.isSelected,p=(e.attributes,e.setAttributes),d=(e.backgroundColor,i()({"blockspare-pricing-table-button":!0})),m=i()([c,"blockspare-block-button-wrap"]);return[wp.element.createElement(GT,null,wp.element.createElement(JT,{key:"controls"},wp.element.createElement($T,{value:r,onChange:e=>{p({sectionAlignment:e})}})),wp.element.createElement(AT,this.props),wp.element.createElement("div",{className:m},this.props.styles,wp.element.createElement("div",{className:d||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},wp.element.createElement(qT,{tagName:"span",placeholder:IT("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:`<span>${n}</span>`,allowedFormats:[],className:i()("blockspare-button",l,o,s),onChange:e=>p({buttonText:e})})),u&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+r,onSubmit:e=>e.preventDefault()},wp.element.createElement(ZT,{icon:"admin-links"}),wp.element.createElement(XT,{className:"button-url",value:a,onChange:e=>p({buttonUrl:e})}),wp.element.createElement(QT,{icon:"editor-break",label:IT("Apply","blockspare"),type:"submit"})))))]}});const tx=wp.blockEditor,nx=tx.RichText,ax=(tx.getColorClassName,wp.i18n.__,wp.compose.compose),rx=wp.element,ox=rx.Component;rx.Fragment;var ix=ax(ut,lt(HT))(class extends ox{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonSize,o=t.buttonShape,l=t.buttonTarget,s=t.buttonHoverEffect,c=(e.attributes,e.className),u=i()({"blockspare-pricing-table-button":!0}),p=i()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:u||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:i()("blockspare-button",o,r,s)},wp.element.createElement(nx.Content,{tagName:"span",value:n})))))}});const lx=wp.element.Component;class sx extends lx{constructor(e){super(...arguments)}render(){return wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:i()(this.props.className,"blockspare-block-button")},this.props.children)}}function cx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ux(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cx(Object(n),!0).forEach((function(t){px(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function px(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dx=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,l=[];return l.push({".blockspare-block-button":{textAlign:n},".blockspare-button":ux({},Pt(e.attributes)),".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:o?o+"px":"0px",paddingLeft:i?i+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),dt.a.all(l)};const mx=wp.blockEditor,fx=mx.RichText,bx=(mx.getColorClassName,wp.i18n.__,wp.compose.compose),gx=wp.element,hx=gx.Component;gx.Fragment;var yx=bx(ut,lt(dx))(class extends hx{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonSize,o=t.buttonShape,l=t.buttonTarget,s=t.buttonHoverEffect,c=(e.attributes,e.className),u=i()({"blockspare-pricing-table-button":!0}),p=i()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:u||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:i()("blockspare-button",o,r,s)},wp.element.createElement(fx.Content,{value:n})))))}});function vx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function wx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vx(Object(n),!0).forEach((function(t){kx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _x=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,l=[];return l.push({".blockspare-block-button":{textAlign:n},".blockspare-button":wx({},Ft(e.attributes)),".blockspare-pricing-table-button":{paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:o?o+"px":"0px",paddingLeft:i?i+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),dt.a.all(l)};const Sx=wp.blockEditor,Ex=Sx.RichText,Tx=(Sx.getColorClassName,wp.i18n.__,wp.compose.compose),xx=wp.element,Mx=xx.Component;xx.Fragment;var Cx=Tx(ut,lt(_x))(class extends Mx{render(){const e=this.props,t=e.attributes,n=t.buttonText,a=t.buttonUrl,r=t.buttonSize,o=t.buttonShape,l=t.buttonTarget,s=t.buttonHoverEffect,c=(e.attributes,e.className),u=i()({"blockspare-pricing-table-button":!0}),p=i()([c,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:u||void 0},wp.element.createElement("div",{className:"blockspare-block-button"},n&&wp.element.createElement("a",{href:a,target:l?"_blank":null,rel:l?"noopener noreferrer":null,className:i()("blockspare-button",o,r,s)},wp.element.createElement(Ex.Content,{value:n})))))}});function Lx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ox(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lx(Object(n),!0).forEach((function(t){Dx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const jx=wp.blockEditor,Fx=jx.RichText,Px=jx.getColorClassName;var Yx=[{attributes:Ox({},xT.attributes,{},jt),save:function(e){const t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=t.paddingTop,o=t.paddingRight,l=t.paddingBottom,s=t.paddingLeft,c=t.buttonText,u=t.buttonUrl,p=t.buttonSize,d=t.buttonShape,m=t.buttonTarget,f=t.buttonHoverEffect,b=Px("background-color",n),g=i()({"has-background":n||a,"blockspare-pricing-table-button":!0,[b]:b}),h=Ox({},Pi(e.attributes)),y={backgroundColor:b?void 0:a,paddingTop:r?r+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:l?l+"px":void 0,paddingLeft:s?s+"px":void 0};return wp.element.createElement("div",{className:g||void 0,style:y},wp.element.createElement(sx,e,c&&wp.element.createElement("a",{href:u,target:m?"_blank":null,rel:m?"noopener noreferrer":null,className:i()("blockspare-button",d,p,f),style:h},wp.element.createElement(Fx.Content,{value:c}))))}},{attributes:Ox({},xT.attributes,{},jt),save:e=>wp.element.createElement(Cx,e)},{attributes:Ox({},xT.attributes,{},jt),save:e=>wp.element.createElement(yx,e)}];function Nx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function zx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bx=wp.i18n.__,Ax=wp.blocks.registerBlockType,Hx=wp.blockEditor,Ix=(Hx.RichText,Hx.getColorClassName,xT.name),Rx=xT.category,Wx=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nx(Object(n),!0).forEach((function(t){zx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},xT.attributes,{},jt);Ax(Ix,{title:Bx("Button","blockspare"),description:Bx("Add button with schema markup.","blockspare"),category:Rx,icon:r.button,attributes:Wx,parent:["blockspare/blockspare-pricing-inner"],keywords:[Bx("pricing button","blockspare"),Bx("button","blockspare"),Bx("link","blockspare")],edit:ex,save:ix,deprecated:Yx});n(482),n(483);var Ux=n(34);const Gx=wp.i18n.__,Vx=wp.element,qx=Vx.Component,$x=(Vx.Fragment,wp.blockEditor),Jx=$x.InspectorControls,Xx=($x.PanelColorSettings,wp.components),Kx=Xx.PanelBody,Qx=Xx.TextControl,Zx=Xx.SelectControl;class eM extends qx{render(){const e=this.props,t=e.attributes,n=e.setAttributes,a=(e.clients,Gx(" Icon only","blockspare"),Gx("Texts only","blockspare"),Gx("Icon with Texts","blockspare"),Gx(" Official","blockspare"),Gx("Custom","blockspare"),[{value:"blockspare-social-icon-square",label:Gx("Square","blockspare")},{value:"blockspare-social-icon-circle",label:Gx("Circle","blockspare")},{value:"blockspare-social-icon-rounded",label:Gx("Rounded Square","blockspare")}]),r=[{value:"blockspare-social-icon-small",label:Gx("Small","blockspare")},{value:"blockspare-social-icon-medium",label:Gx("Medium","blockspare")},{value:"blockspare-social-icon-large",label:Gx("Large","blockspare")}];Gx("Solid","blockspare"),Gx("Border","blockspare"),Gx("None","blockspare");return wp.element.createElement(Jx,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Kx,{title:Gx("Social Icon Option","blockspare"),initialOpen:!1},wp.element.createElement(Zx,{label:Gx("Shape","blockspare"),options:a,value:t.buttonShapes,onChange:e=>this.props.setAttributes({buttonShapes:e})}),wp.element.createElement(Zx,{label:Gx("Size","blockspare"),options:r,value:t.buttonSizes,onChange:e=>this.props.setAttributes({buttonSizes:e})})),wp.element.createElement(Kx,{title:Gx("Social Settings","blockspare"),className:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(Kx,{title:Gx("Facebook","blockspare"),initialOpen:!1},wp.element.createElement(Qx,{label:Gx("Title","blockspare"),type:"text",value:t.facebookTitle,onChange:e=>this.props.setAttributes({facebookTitle:e})}),wp.element.createElement(Qx,{label:Gx("URL","blockspare"),type:"url",value:t.facebookUrl,onChange:e=>this.props.setAttributes({facebookUrl:e})})),wp.element.createElement(Kx,{title:Gx("Twitter","blockspare"),initialOpen:!1},wp.element.createElement(Qx,{label:Gx("Title","blockspare"),type:"text",value:t.twitterTitle,onChange:e=>this.props.setAttributes({twitterTitle:e})}),wp.element.createElement(Qx,{label:Gx("URL","blockspare"),type:"url",value:t.twitterUrl,onChange:e=>this.props.setAttributes({twitterUrl:e})})),wp.element.createElement(Kx,{title:Gx("Instagram","blockspare"),initialOpen:!1},wp.element.createElement(Qx,{label:Gx("Title","blockspare"),type:"text",value:t.instagramTitle,onChange:e=>this.props.setAttributes({instagramTitle:e})}),wp.element.createElement(Qx,{label:Gx("URL","blockspare"),type:"url",value:t.instagramUrl,onChange:e=>this.props.setAttributes({instagramUrl:e})})),wp.element.createElement(Kx,{title:Gx("YouTube","blockspare"),initialOpen:!1},wp.element.createElement(Qx,{label:Gx("Title","blockspare"),type:"text",value:t.youtubeTitle,onChange:e=>this.props.setAttributes({youtubeTitle:e})}),wp.element.createElement(Qx,{label:Gx("URL","blockspare"),type:"url",value:t.youtubeUrl,onChange:e=>this.props.setAttributes({youtubeUrl:e})})),wp.element.createElement(Kx,{title:Gx("LinkedIn","blockspare"),initialOpen:!1},wp.element.createElement(Qx,{label:Gx("Title","blockspare"),type:"text",value:t.linkedinTitle,onChange:e=>this.props.setAttributes({linkedinTitle:e})}),wp.element.createElement(Qx,{label:Gx("URL","blockspare"),type:"url",value:t.linkedinUrl,onChange:e=>this.props.setAttributes({linkedinUrl:e})})),wp.element.createElement(Kx,{title:Gx("Pinterest","blockspare"),initialOpen:!1},wp.element.createElement(Qx,{label:Gx("Title","blockspare"),type:"text",value:t.pinterestTitle,onChange:e=>this.props.setAttributes({pinterestTitle:e})}),wp.element.createElement(Qx,{label:Gx("URL","blockspare"),type:"url",value:t.pinterestUrl,onChange:e=>this.props.setAttributes({pinterestUrl:e})}))),wp.element.createElement(Kx,{title:Gx("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(Kx,{title:Gx("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:t.marginTop,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>n({marginTop:e}),marginEnableBottom:!0,marginBottom:t.marginBottom,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>n({marginBottom:e})})))))}}var tM=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.customfontColorOption,o=t.custombackgroundColorOption,i=t.marginTop,l=t.marginBottom,s=[];return"blockspare-default-official-color"!=a&&s.push({".blockspare-social-links a span":{color:r,backgroundColor:o}}),s.push({".blockspare-social-wrapper":{textAlign:n,marginTop:i?i+"px":"0px",marginBottom:l?l+"px":"0px"}}),dt.a.all(s)};function nM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function aM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nM(Object(n),!0).forEach((function(t){rM(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nM(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const oM=wp.element,iM=oM.Component,lM=oM.Fragment,sM=(wp.i18n.__,wp.compose.compose),cM=wp.blockEditor,uM=cM.BlockControls,pM=cM.AlignmentToolbar;var dM=sM(ut,lt(tM))(class extends iM{render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.buttonShapes,o=t.buttonSizes,l=t.buttonOptions,s=t.buttonFills,c=t.facebookUrl,u=t.facebookTitle,p=t.linkedinUrl,d=t.linkedinTitle,m=t.twitterUrl,f=t.twitterTitle,b=t.instagramUrl,g=t.instagramTitle,h=t.youtubeUrl,y=t.youtubeTitle,v=t.pinterestUrl,w=t.pinterestTitle,k=t.tumblrUrl,_=t.tumblrTitle,S=t.telegramUrl,E=t.telegramTitle,T=t.redditUrl,x=t.redditTitle,M=t.flickrUrl,C=t.flickrTitle,L=t.dribbbleUrl,O=t.dribbbleTitle,D=t.vkUrl,j=t.vkTitle,F=t.yelpUrl,P=t.yelpTitle,Y=t.quoraUrl,N=t.quoraTitle,z=t.meetupUrl,B=t.meetupTitle,A=t.githubUrl,H=t.githubTitle,I=e.className,R=(e.attributes,e.setAttributes),W=i()([I,"blockspare-socaillink-block"]);return[wp.element.createElement(lM,null,wp.element.createElement(eM,aM({setAttributes:R},this.props)),wp.element.createElement(uM,null,wp.element.createElement(pM,{value:n,onChange:e=>{R({sectionAlignment:e})}})),wp.element.createElement("div",{className:W},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-blocks","blockspare-social-wrapper")},wp.element.createElement("div",{className:"blockspare-section-head-wrap"},wp.element.createElement("ul",{className:i()("blockspare-social-links",a,r,o,l,s)},c&&wp.element.createElement("li",null,wp.element.createElement("a",{href:c,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-facebook-f"})," ",wp.element.createElement("span",{className:"screen-reader-text"},u)))),p&&wp.element.createElement("li",null,wp.element.createElement("a",{href:p,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},d)))),m&&wp.element.createElement("li",null,wp.element.createElement("a",{href:m,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},f)))),b&&wp.element.createElement("li",null,wp.element.createElement("a",{href:b,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},g)))),h&&wp.element.createElement("li",null,wp.element.createElement("a",{href:h,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},y)))),v&&wp.element.createElement("li",null,wp.element.createElement("a",{href:v,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-pinterest"}),wp.element.createElement("span",{className:"screen-reader-text"},w)))),k&&wp.element.createElement("li",null,wp.element.createElement("a",{href:k,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-tumblr"}),wp.element.createElement("span",{className:"screen-reader-text"},_)))),S&&wp.element.createElement("li",null,wp.element.createElement("a",{href:S,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-telegram"}),wp.element.createElement("span",{className:"screen-reader-text"},E)))),T&&wp.element.createElement("li",null,wp.element.createElement("a",{href:T,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-reddit"}),wp.element.createElement("span",{className:"screen-reader-text"},x)))),M&&wp.element.createElement("li",null,wp.element.createElement("a",{href:M,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-flickr"}),wp.element.createElement("span",{className:"screen-reader-text"},C)))),L&&wp.element.createElement("li",null,wp.element.createElement("a",{href:L,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-dribbble"}),wp.element.createElement("span",{className:"screen-reader-text"},O)))),D&&wp.element.createElement("li",null,wp.element.createElement("a",{href:D,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-vk"}),wp.element.createElement("span",{className:"screen-reader-text"},j)))),F&&wp.element.createElement("li",null,wp.element.createElement("a",{href:F,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-yelp"}),wp.element.createElement("span",{className:"screen-reader-text"},P)))),Y&&wp.element.createElement("li",null,wp.element.createElement("a",{href:Y,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-quora"}),wp.element.createElement("span",{className:"screen-reader-text"},N)))),z&&wp.element.createElement("li",null,wp.element.createElement("a",{href:z,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-meetup"}),wp.element.createElement("span",{className:"screen-reader-text"},B)))),A&&wp.element.createElement("li",null,wp.element.createElement("a",{href:A,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-github"}),wp.element.createElement("span",{className:"screen-reader-text"},H)))))))))]}});const mM=wp.element,fM=mM.Component,bM=(mM.Fragment,wp.i18n.__,wp.blockEditor);bM.BlockAlignmentToolbar,bM.BlockControls;class gM extends fM{constructor(e){super(...arguments)}render(){let e="";return e="blockspare-default-official-color"!=this.props.attributes.iconColorOption?{color:this.props.attributes.customfontColorOption,backgroundColor:this.props.attributes.custombackgroundColorOption}:{},wp.element.createElement("ul",{className:i()("blockspare-social-links",this.props.attributes.iconColorOption,this.props.attributes.buttonShapes,this.props.attributes.buttonSizes,this.props.attributes.buttonOptions,this.props.attributes.buttonFills)},this.props.attributes.facebookUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.facebookUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.facebookTitle))),this.props.attributes.linkedinUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.linkedinUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.linkedinTitle))),this.props.attributes.twitterUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.twitterUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.twitterTitle))),this.props.attributes.instagramUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.instagramUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.instagramTitle))),this.props.attributes.youtubeUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.youtubeUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.youtubeTitle))),this.props.attributes.pinterestUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.pinterestUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-pinterest"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.pinterestTitle))),this.props.attributes.tumblrUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.tumblrUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-tumblr"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.tumblrTitle))),this.props.attributes.telegramUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.telegramUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-telegram"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.telegramTitle))),this.props.attributes.redditUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.redditUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-reddit"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.redditTitle))),this.props.attributes.flickrUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.flickrUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-flickr"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.flickrTitle))),this.props.attributes.dribbbleUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.dribbbleUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-dribbble"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.dribbbleTitle))),this.props.attributes.vkUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.vkUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-vk"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.vkTitle))),this.props.attributes.yelpUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.yelpUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-yelp"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.yelpTitle))),this.props.attributes.quoraUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.quoraUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-quora"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.quoraTitle))),this.props.attributes.meetupUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.meetupUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-meetup"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.meetupTitle))),this.props.attributes.githubUrl&&wp.element.createElement("li",null,wp.element.createElement("a",{style:e,href:this.props.attributes.githubUrl,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-github"}),wp.element.createElement("span",{className:"screen-reader-text"},this.props.attributes.githubTitle))))}}const hM=wp.element.Component,yM=wp.compose.compose;var vM=yM(ut,lt(tM))(class extends hM{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.iconColorOption),a=t.buttonShapes,r=t.buttonSizes,o=t.buttonOptions,l=t.buttonFills,s=t.facebookUrl,c=t.facebookTitle,u=t.linkedinUrl,p=t.linkedinTitle,d=t.twitterUrl,m=t.twitterTitle,f=t.instagramUrl,b=t.instagramTitle,g=t.youtubeUrl,h=t.youtubeTitle,y=t.pinterestUrl,v=t.pinterestTitle,w=t.tumblrUrl,k=t.tumblrTitle,_=t.telegramUrl,S=t.telegramTitle,E=t.redditUrl,T=t.redditTitle,x=t.flickrUrl,M=t.flickrTitle,C=t.dribbbleUrl,L=t.dribbbleTitle,O=t.vkUrl,D=t.vkTitle,j=t.yelpUrl,F=t.yelpTitle,P=t.quoraUrl,Y=t.quoraTitle,N=t.meetupUrl,z=t.meetupTitle,B=t.githubUrl,A=t.githubTitle,H=e.className,I=(e.attributes,e.setAttributes,i()([H,"blockspare-socaillink-block"]));return wp.element.createElement("div",{className:I},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-social-wrapper"},wp.element.createElement("ul",{className:i()("blockspare-social-links",n,a,r,o,l)},s&&wp.element.createElement("li",null,wp.element.createElement("a",{href:s,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-facebook-f"})," ",wp.element.createElement("span",{className:"screen-reader-text"},c)))),u&&wp.element.createElement("li",null,wp.element.createElement("a",{href:u,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},p)))),d&&wp.element.createElement("li",null,wp.element.createElement("a",{href:d,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},m)))),f&&wp.element.createElement("li",null,wp.element.createElement("a",{href:f,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},b)))),g&&wp.element.createElement("li",null,wp.element.createElement("a",{href:g,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},h)))),y&&wp.element.createElement("li",null,wp.element.createElement("a",{href:y,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-pinterest"}),wp.element.createElement("span",{className:"screen-reader-text"},v)))),w&&wp.element.createElement("li",null,wp.element.createElement("a",{href:w,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-tumblr"}),wp.element.createElement("span",{className:"screen-reader-text"},k)))),_&&wp.element.createElement("li",null,wp.element.createElement("a",{href:_,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-telegram"}),wp.element.createElement("span",{className:"screen-reader-text"},S)))),E&&wp.element.createElement("li",null,wp.element.createElement("a",{href:E,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-reddit"}),wp.element.createElement("span",{className:"screen-reader-text"},T)))),x&&wp.element.createElement("li",null,wp.element.createElement("a",{href:x,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-flickr"}),wp.element.createElement("span",{className:"screen-reader-text"},M)))),C&&wp.element.createElement("li",null,wp.element.createElement("a",{href:C,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-dribbble"}),wp.element.createElement("span",{className:"screen-reader-text"},L)))),O&&wp.element.createElement("li",null,wp.element.createElement("a",{href:O,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-vk"}),wp.element.createElement("span",{className:"screen-reader-text"},D)))),j&&wp.element.createElement("li",null,wp.element.createElement("a",{href:j,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-yelp"}),wp.element.createElement("span",{className:"screen-reader-text"},F)))),P&&wp.element.createElement("li",null,wp.element.createElement("a",{href:P,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-quora"}),wp.element.createElement("span",{className:"screen-reader-text"},Y)))),N&&wp.element.createElement("li",null,wp.element.createElement("a",{href:N,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-meetup"}),wp.element.createElement("span",{className:"screen-reader-text"},z)))),B&&wp.element.createElement("li",null,wp.element.createElement("a",{href:B,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-github"}),wp.element.createElement("span",{className:"screen-reader-text"},A)))))))}});const wM=wp.element.Component;class kM extends wM{constructor(){super(...arguments)}render(){return wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:"blockspare-blocks blockspare-social-wrapper"},wp.element.createElement(gM,this.props))}}var _M=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.customfontColorOption,o=t.custombackgroundColorOption,i=[];return"blockspare-default-official-color"!=a&&i.push({".blockspare-social-links a":{color:r,backgroundColor:o}}),i.push({".blockspare-social-wrapper":{textAlign:n}}),dt.a.all(i)};const SM=wp.element.Component,EM=wp.compose.compose;var TM=EM(ut,lt(_M))(class extends SM{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.sectionAlignment,t.iconColorOption),a=t.buttonShapes,r=t.buttonSizes,o=t.buttonOptions,l=t.buttonFills,s=t.facebookUrl,c=t.facebookTitle,u=t.linkedinUrl,p=t.linkedinTitle,d=t.twitterUrl,m=t.twitterTitle,f=t.instagramUrl,b=t.instagramTitle,g=t.youtubeUrl,h=t.youtubeTitle,y=t.pinterestUrl,v=t.pinterestTitle,w=t.tumblrUrl,k=t.tumblrTitle,_=t.telegramUrl,S=t.telegramTitle,E=t.redditUrl,T=t.redditTitle,x=t.flickrUrl,M=t.flickrTitle,C=t.dribbbleUrl,L=t.dribbbleTitle,O=t.vkUrl,D=t.vkTitle,j=t.yelpUrl,F=t.yelpTitle,P=t.quoraUrl,Y=t.quoraTitle,N=t.meetupUrl,z=t.meetupTitle,B=t.githubUrl,A=t.githubTitle,H=e.className,I=(e.attributes,e.setAttributes,i()([H,"blockspare-socaillink-block"]));return wp.element.createElement("div",{className:I},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-social-wrapper"},wp.element.createElement("ul",{className:i()("blockspare-social-links",n,a,r,o,l)},s&&wp.element.createElement("li",null,wp.element.createElement("a",{href:s,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},c))),u&&wp.element.createElement("li",null,wp.element.createElement("a",{href:u,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},p))),d&&wp.element.createElement("li",null,wp.element.createElement("a",{href:d,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},m))),f&&wp.element.createElement("li",null,wp.element.createElement("a",{href:f,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},b))),g&&wp.element.createElement("li",null,wp.element.createElement("a",{href:g,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},h))),y&&wp.element.createElement("li",null,wp.element.createElement("a",{href:y,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-pinterest"}),wp.element.createElement("span",{className:"screen-reader-text"},v))),w&&wp.element.createElement("li",null,wp.element.createElement("a",{href:w,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-tumblr"}),wp.element.createElement("span",{className:"screen-reader-text"},k))),_&&wp.element.createElement("li",null,wp.element.createElement("a",{href:_,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-telegram"}),wp.element.createElement("span",{className:"screen-reader-text"},S))),E&&wp.element.createElement("li",null,wp.element.createElement("a",{href:E,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-reddit"}),wp.element.createElement("span",{className:"screen-reader-text"},T))),x&&wp.element.createElement("li",null,wp.element.createElement("a",{href:x,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-flickr"}),wp.element.createElement("span",{className:"screen-reader-text"},M))),C&&wp.element.createElement("li",null,wp.element.createElement("a",{href:C,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-dribbble"}),wp.element.createElement("span",{className:"screen-reader-text"},L))),O&&wp.element.createElement("li",null,wp.element.createElement("a",{href:O,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-vk"}),wp.element.createElement("span",{className:"screen-reader-text"},D))),j&&wp.element.createElement("li",null,wp.element.createElement("a",{href:j,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-yelp"}),wp.element.createElement("span",{className:"screen-reader-text"},F))),P&&wp.element.createElement("li",null,wp.element.createElement("a",{href:P,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-quora"}),wp.element.createElement("span",{className:"screen-reader-text"},Y))),N&&wp.element.createElement("li",null,wp.element.createElement("a",{href:N,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-meetup"}),wp.element.createElement("span",{className:"screen-reader-text"},z))),B&&wp.element.createElement("li",null,wp.element.createElement("a",{href:B,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-github"}),wp.element.createElement("span",{className:"screen-reader-text"},A))))))}});function xM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function MM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const CM=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xM(Object(n),!0).forEach((function(t){MM(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xM(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ux.attributes);var LM=[{attributes:CM,save:e=>wp.element.createElement(kM,e)},{attributes:CM,save:e=>wp.element.createElement(TM,e)}];const OM=wp.blocks.registerBlockType,DM=Ux.name,jM=Ux.category,FM=Ux.attributes,PM=wp.i18n.__;OM(DM,{title:PM("BS Social Links","blockspare"),category:jM,icon:r.sociallinks,attributes:FM,keywords:[PM("block","blockspare"),PM("social","blockspare"),PM("links","blockspare"),PM("share","blockspare")],example:{attributes:{facebookUrl:"https://facebook.com",twitterUrl:"https://twitter.com",linkedinUrl:"https://www.linkedin.com/",instagramUrl:"https://instagram.com"}},edit:dM,save:vM,deprecated:LM});const YM=wp.i18n.__,NM=wp.element.Component,zM=wp.blockEditor,BM=zM.InspectorControls,AM=(zM.PanelColorSettings,wp.components),HM=AM.PanelBody,IM=AM.SelectControl,RM=AM.ToggleControl,WM=AM.TextControl;class UM extends NM{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=e.setAttributes,a=(e.clients,YM(" Icon only","blockspare"),YM("Texts only","blockspare"),YM("Icon with Texts","blockspare"),YM(" Official","blockspare"),YM("Custom","blockspare"),[{value:"blockspare-social-icon-square",label:YM("Square","blockspare")},{value:"blockspare-social-icon-circle",label:YM("Circle","blockspare")},{value:"blockspare-social-icon-rounded",label:YM("Rounded Square","blockspare")}]),r=[{value:"blockspare-social-icon-small",label:YM("Small","blockspare")},{value:"blockspare-social-icon-medium",label:YM("Medium","blockspare")},{value:"blockspare-social-icon-large",label:YM("Large","blockspare")}];YM("Solid","blockspare"),YM("Border","blockspare"),YM("None","blockspare");return wp.element.createElement(BM,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(HM,{title:YM("Social Icon Option","blockspare"),initialOpen:!1},wp.element.createElement(IM,{label:YM("Shape","blockspare"),options:a,value:t.buttonShapes,onChange:e=>this.props.setAttributes({buttonShapes:e})}),wp.element.createElement(IM,{label:YM("Size","blockspare"),options:r,value:t.buttonSizes,onChange:e=>this.props.setAttributes({buttonSizes:e})})),wp.element.createElement(HM,{title:YM("Social Sharing Settings","blockspare"),initialOpen:!1},wp.element.createElement(HM,{title:YM("Facebook","blockspare"),initialOpen:!1},wp.element.createElement(RM,{label:YM("Enable","blockspare"),checked:!!this.props.attributes.facebook,onChange:()=>this.props.setAttributes({facebook:!this.props.attributes.facebook})}),this.props.attributes.facebook&&wp.element.createElement(WM,{label:YM("Title","blockspare"),type:"text",value:t.facebookTitle,onChange:e=>this.props.setAttributes({facebookTitle:e})})),wp.element.createElement(HM,{title:YM("Twitter","blockspare"),initialOpen:!1},wp.element.createElement(RM,{label:YM("Enable","blockspare"),checked:!!this.props.attributes.twitter,onChange:()=>this.props.setAttributes({twitter:!this.props.attributes.twitter})}),this.props.attributes.twitter&&wp.element.createElement(WM,{label:YM("Title","blockspare"),type:"text",value:t.twitterTitle,onChange:e=>this.props.setAttributes({twitterTitle:e})})),wp.element.createElement(HM,{title:YM("Pinterest","blockspare"),initialOpen:!1},wp.element.createElement(RM,{label:YM("Enable","blockspare"),checked:!!this.props.attributes.pinterest,onChange:()=>this.props.setAttributes({pinterest:!this.props.attributes.pinterest})}),this.props.attributes.pinterest&&wp.element.createElement(WM,{label:YM("Title","blockspare"),type:"text",value:t.pinterestTitle,onChange:e=>this.props.setAttributes({pinterestTitle:e})})),wp.element.createElement(HM,{title:YM("LinkedIn","blockspare"),initialOpen:!1},wp.element.createElement(RM,{label:YM("Enable","blockspare"),checked:!!this.props.attributes.linkedin,onChange:()=>this.props.setAttributes({linkedin:!this.props.attributes.linkedin})}),this.props.attributes.linkedin&&wp.element.createElement(WM,{label:YM("Title","blockspare"),type:"text",value:t.linkedinTitle,onChange:e=>this.props.setAttributes({linkedinTitle:e})}))),wp.element.createElement(HM,{title:YM("Block Gap Settings","blockspare"),initialOpen:!1},wp.element.createElement(HM,{title:YM("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:t.marginTop,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>n({marginTop:e}),marginEnableBottom:!0,marginBottom:t.marginBottom,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>n({marginBottom:e})})))))}}var GM=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.customfontColorOption,o=t.custombackgroundColorOption,i=t.marginTop,l=t.marginBottom,s=[];return"blockspare-default-official-color"!=a&&s.push({".blockspare-social-sharing a span":{color:r,backgroundColor:o}}),s.push({".blockspare-social-wrapper":{textAlign:n,marginTop:i?i+"px":"0px",marginBottom:l?l+"px":"0px"}}),dt.a.all(s)};wp.i18n.__;const VM=wp.element.Component,qM=wp.compose.compose,$M=wp.blockEditor,JM=$M.AlignmentToolbar,XM=$M.BlockControls;var KM=qM(ut,lt(GM))(class extends VM{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.iconColorOption,r=t.buttonShapes,o=t.buttonSizes,l=t.buttonOptions,s=t.buttonFills,c=t.facebook,u=t.facebookTitle,p=t.twitter,d=t.twitterTitle,m=t.pinterest,f=t.pinterestTitle,b=t.linkedin,g=t.linkedinTitle,h=t.reddit,y=t.redditTitle,v=t.email,w=t.emailTitle,k=e.className,_=(e.attributes,i()([k]));return[wp.element.createElement(XM,{key:"controls"},wp.element.createElement(JM,{value:n,onChange:e=>this.props.setAttributes({sectionAlignment:e})})),wp.element.createElement(UM,this.props),wp.element.createElement("div",{className:_},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-social-wrapper"},wp.element.createElement("ul",{className:i()("blockspare-social-sharing",a,r,o,l,s)},c&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-facebook"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"blockspare-social-text"},u)))),p&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-twitter"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"blockspare-social-text"},d)))),m&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-pinterest"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-pinterest-p"}),wp.element.createElement("span",{className:"blockspare-social-text"},f)))),b&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-linkedin"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"blockspare-social-text"},g)))),h&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-reddit"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-reddit-alien"}),wp.element.createElement("span",{className:"blockspare-social-text"},y)))),v&&wp.element.createElement("li",null,wp.element.createElement("a",{className:"blockspare-share-email"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fas fa-envelope"}),wp.element.createElement("span",{className:"blockspare-social-text"},w)))))))]}});n(484),n(485);const QM=wp.i18n.__;(0,wp.blocks.registerBlockType)("blockspare/blockspare-social-sharing",{title:QM("BS Social Sharing","blockspare"),description:QM("Add sharing buttons to your posts and pages.","blockspare"),icon:r.socialShare,category:"blockspare",keywords:[QM("block","blockspare"),QM("social","blockspare"),QM("links","blockspare"),QM("share","blockspare")],example:{attributes:{facebook:!0,twitter:!0,linkedin:!0}},edit:e=>wp.element.createElement(KM,e),save:()=>null});n(486),n(487);var ZM=n(98);var eC=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,o=t.titlePaddingTop,i=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.headerpaddingTop,m=t.headerpaddingRight,f=t.headerpaddingBottom,b=t.headerpaddingLeft,g=t.headermarginTop,h=t.headermarginBottom,y=(t.titleLoadGoogleFonts,t.titleFontFamily),v=t.titleFontWeight,w=(t.titleFontSubset,t.titleFontSizeType),k=t.titleFontSizeMobile,_=t.titleFontSizeTablet,S=t.subTitleFontSize,E=(t.subTitleLoadGoogleFonts,t.subTitleFontFamily),T=t.subTitleFontWeight,x=(t.subTitleFontSubset,t.subTitleFontSizeType),M=t.subTitleFontSizeMobile,C=t.subTitleFontSizeTablet,L=[];return L.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:d+"px",paddingRight:m+"px",paddingBottom:f+"px",marginTop:g+"px",marginBottom:h+"px",paddingLeft:b+"px"}}),L.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+w,fontFamily:y,fontWeight:v,paddingTop:o+"px ",paddingBottom:i+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:S+x,fontFamily:E,fontWeight:T,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:_+w},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:C+x}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:k+w},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:M+x}}}),dt.a.all(L)};const tC=wp.i18n.__,nC=wp.element.Component,aC=wp.blockEditor.InspectorControls,rC=wp.components,oC=rC.PanelBody,iC=rC.SelectControl;class lC extends nC{render(){const e=this.props,t=e.attributes,n=t.titleFontSize,a=t.headerboxColor,r=t.headertitleColor,o=t.headersubtitleColor,i=t.headerpaddingTop,l=t.headerpaddingRight,s=t.headerpaddingBottom,c=t.headerpaddingLeft,u=t.headermarginTop,p=t.headermarginBottom,d=t.headerlayoutOption,m=t.headerTagOption,f=t.titlePaddingTop,b=t.titlePaddingBottom,g=t.subtitlePaddingTop,h=t.subtitlePaddingBottom,y=t.dashColor,v=t.titleLoadGoogleFonts,w=t.titleFontFamily,k=t.titleFontWeight,_=t.titleFontSubset,S=t.titleFontSizeType,E=t.titleFontSizeMobile,T=t.titleFontSizeTablet,x=t.subTitleFontSize,M=t.subTitleLoadGoogleFonts,C=t.subTitleFontFamily,L=t.subTitleFontWeight,O=t.subTitleFontSubset,D=t.subTitleFontSizeType,j=t.subTitleFontSizeMobile,F=t.subTitleFontSizeTablet,P=e.attributes,Y=e.setAttributes,N=[{value:"blockspare-style1",label:tC("Layout 1","blockspare")},{value:"blockspare-style2",label:tC("Layout 2","blockspare")},{value:"blockspare-style3",label:tC("Layout 3","blockspare")}];return wp.element.createElement(aC,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(oC,{title:tC("Layouts","blockspare"),initialOpen:!1},wp.element.createElement(iC,{label:tC("Header Style","blockspare"),value:d,options:N.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>this.props.setAttributes({headerlayoutOption:e})})),wp.element.createElement(oC,{title:tC("Typography Settings","blockspare")},wp.element.createElement(ho,{label:tC("Title Fonts Settings"),attributes:P,setAttributes:Y,loadGoogleFonts:{value:v,label:tC("titleLoadGoogleFonts")},fontFamily:{value:w,label:tC("titleFontFamily")},fontWeight:{value:k,label:tC("titleFontWeight")},fontSubset:{value:_,label:tC("titleFontSubset")},fontSizeType:{value:S,label:tC("titleFontSizeType")},fontSize:{value:n,label:tC("titleFontSize")},fontSizeMobile:{value:E,label:tC("titleFontSizeMobile")},fontSizeTablet:{value:T,label:tC("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:m}),wp.element.createElement(ho,{label:tC("Subtitle Fonts Settings"),attributes:P,setAttributes:Y,loadGoogleFonts:{value:M,label:tC("subTitleLoadGoogleFonts")},fontFamily:{value:C,label:tC("subTitleFontFamily")},fontWeight:{value:L,label:tC("subTitleFontWeight")},fontSubset:{value:O,label:tC("subTitleFontSubset")},fontSizeType:{value:D,label:tC("subTitleFontSizeType")},fontSize:{value:x,label:tC("subTitleFontSize")},fontSizeMobile:{value:j,label:tC("subTitleFontSizeMobile")},fontSizeTablet:{value:F,label:tC("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),wp.element.createElement(pn,{enableBlockGaps:!0,headerboxColor:a,onChangeboxcolor:e=>Y({headerboxColor:e}),dashColor:y,headerlayoutOption:d,onChangeDashColor:e=>Y({dashColor:e}),headerpaddingTop:i,onChangeheaderpaddingTop:e=>Y({headerpaddingTop:e}),headerpaddingRight:l,onChangeheaderpaddingRight:e=>Y({headerpaddingRight:e}),headerpaddingBottom:s,onChangeheaderpaddingBottom:e=>Y({headerpaddingBottom:e}),headerpaddingLeft:c,onChangeheaderpaddingLeft:e=>Y({headerpaddingLeft:e}),headermarginTop:u,onChangeheadermarginTop:e=>Y({headermarginTop:e}),headermarginBottom:p,onChangeheadermarginBottom:e=>Y({headermarginBottom:e}),headertitleColor:r,onChangetitlecolor:e=>Y({headertitleColor:e}),headerTagOption:m,onChangeHeaderTag:e=>Y({headerTagOption:e}),titlePaddingTop:f,onChangetitlePaddingTop:e=>Y({titlePaddingTop:e}),titlePaddingBottom:b,onChangetitlePaddingBottom:e=>Y({titlePaddingBottom:e}),headersubtitleColor:o,onChangesubtitlecolor:e=>Y({headersubtitleColor:e}),subtitlePaddingTop:g,onChangesubtitlePaddingTop:e=>Y({subtitlePaddingTop:e}),subtitlePaddingBottom:h,onChangesubtitlePaddingBottom:e=>Y({subtitlePaddingBottom:e})})))}}function sC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function cC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sC(Object(n),!0).forEach((function(t){uC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function uC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pC=wp.element,dC=pC.Component,mC=pC.Fragment,fC=(wp.i18n.__,wp.blockEditor),bC=fC.BlockControls,gC=(fC.RichText,fC.BlockAlignmentToolbar,fC.AlignmentToolbar),hC=wp.components,yC=(hC.IconButton,hC.Dashicon,wp.compose.compose);var vC=yC(ut,lt(eC))(class extends dC{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTitle,o=t.headerTagOption,l=t.headerSubTitle,s=t.headerlayoutOption,c=t.titleLoadGoogleFonts,u=t.titleFontFamily,p=t.titleFontWeight,d=t.subTitleLoadGoogleFonts,m=t.subTitleFontFamily,f=t.subTitleFontWeight,b=e.className,g=(e.attributes,e.setAttributes),h=(e.isSelected,i()([b,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return[wp.element.createElement(mC,null,wp.element.createElement(bC,null,wp.element.createElement(gC,{value:a,onChange:e=>{g({sectionAlignment:e})}})),wp.element.createElement(lC,cC({setAttributes:g},this.props)),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement($o,{setAttributes:g,headerTitle:r,headerTagOption:o,headerSubTitle:l,titleFontFamily:u,titleFontWeight:p,titleLoadGoogleFonts:c,subTitleLoadGoogleFonts:d,subTitleFontFamily:m,subTitleFontWeight:f}))))]}});function wC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function kC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__,wp.blockEditor.RichText;const _C=wp.compose.compose,SC=wp.element,EC=SC.Component;SC.Fragment;var TC=_C(ut,lt(eC))(class extends EC{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTitle,o=t.headerTagOption,l=t.headerSubTitle,s=t.headerlayoutOption,c=e.className,u=e.attributes,p=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wC(Object(n),!0).forEach((function(t){kC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}}({},Ai(u)),i()([c,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(Ei,{headerTitle:r,headerTagOption:o,headerSubTitle:l})))}});function xC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function MC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xC(Object(n),!0).forEach((function(t){CC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function CC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const LC=wp.editor,OC=LC.RichText;LC.getFontSizeClass,LC.getColorClassName;var DC=[{attributes:MC({},nn,{},an),save:function(e){const t=e.attributes,n=(t.align,t.headerTitle),a=t.headerTagOption,r=t.headerSubTitle,o=MC({},Di(e.attributes)),i=MC({},ji(e.attributes)),l=MC({},Fi(e.attributes));return wp.element.createElement(Wi,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:o}),n&&wp.element.createElement(OC.Content,{tagName:a,className:"blockspare-title",style:i,value:n}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:o})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:o}),r&&wp.element.createElement(OC.Content,{tagName:"p",className:"blockspare-subtitle",style:l,value:r}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:o})))}}];function jC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function FC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const PC=wp.blocks.registerBlockType,YC=wp.i18n.__,NC=ZM.name,zC=ZM.category,BC=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jC(Object(n),!0).forEach((function(t){FC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},nn,{},an);PC(NC,{title:YC("Section Header","blockspare"),description:YC("Add your Your Header ","blockspare"),category:zC,icon:r.sectionHeader,attributes:BC,keywords:[YC("block","blockspare"),YC("section","blockspare"),YC("header","blockspare"),YC("title","blockspare"),YC("subtitle","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:vC,save:TC,deprecated:DC});var AC=n(68);const HC=wp.i18n.__,IC=wp.element.Component,RC=wp.blockEditor.InspectorControls,WC=wp.components,UC=(WC.Toolbar,WC.Button,WC.PanelBody),GC=(WC.PanelRow,WC.RangeControl);class VC extends IC{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.serviceItems,t.columns),a=t.columnsGap,r=t.marginTop,o=t.marginBottom,i=(e.isSelected,e.className,e.setAttributes);return wp.element.createElement(RC,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(UC,{title:HC("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(GC,{label:HC("Number of Columns","blockspare"),value:n,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:3}),wp.element.createElement(GC,{label:HC("Column Gaps","blockspare"),value:a,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:4,step:1})),wp.element.createElement(UC,{title:HC("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:r,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>i({marginTop:e}),marginEnableBottom:!0,marginBottom:o,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>i({marginBottom:e})}))))}}n(488),n(489);var qC=n(99);const $C=wp.i18n.__,JC=wp.element.Component,XC=wp.blockEditor,KC=XC.InspectorControls,QC=(XC.BlockDescription,XC.PanelColorSettings),ZC=wp.components,eL=(ZC.ToggleControl,ZC.PanelBody),tL=(ZC.FormToggle,ZC.RangeControl);class nL extends JC{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.borderWidth,a=t.borderColor,r=(t.borderRadius,t.backgroundColor),o=t.padding,i=(t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.marginTop),l=t.marginBottom,s=(e.isSelected,e.className,e.setAttributes);return wp.element.createElement(KC,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(eL,{title:$C("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(tL,{label:$C("Service Column Padding","blockspare"),value:o,onChange:e=>this.props.setAttributes({padding:e}),min:0,max:20,initialPosition:5,step:1}),wp.element.createElement(tL,{label:$C("Service Column Border","blockspare"),value:n,onChange:e=>this.props.setAttributes({borderWidth:e}),min:0,max:10,step:1})),wp.element.createElement(eL,{title:$C("Color Settings","blockspare"),initialOpen:!1},0<n&&wp.element.createElement(QC,{title:$C("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:a,onChange:e=>s({borderColor:e}),label:$C("Border Color","blockspare")}]}),wp.element.createElement(QC,{title:$C("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:r,onChange:e=>s({backgroundColor:e}),label:$C("Background Color","blockspare")}]})),wp.element.createElement(eL,{title:$C("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:i,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>s({marginTop:e}),marginEnableBottom:!0,marginBottom:l,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>s({marginBottom:e})}))))}}function aL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function rL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aL(Object(n),!0).forEach((function(t){oL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iL=e=>{const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,o=t.backgroundColor,i=t.padding,l=[];return l.push({".blockspare-block-service-table-inside":rL({},Jo(e.attributes),{borderWidth:n?n+"px":null,borderStyle:0<n?"solid":null,borderColor:a||null,borderRadius:r||null,backgroundColor:o||null,padding:i?i+"px":"5px"})}),dt.a.all(l)};wp.i18n.__;const lL=wp.element,sL=lL.Component,cL=lL.Fragment,uL=wp.compose.compose,pL=wp.blockEditor,dL=pL.InnerBlocks,mL=(pL.AlignmentToolbar,pL.BlockControls,["blockspare/blockspare-iconset","blockspare/blockspare-services-inner-title","blockspare/blockspare-services-inner-description","blockspare/blockspare-service-inner-button"]);var fL=uL(ut,lt(iL))(class extends sL{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.padding,t.alignment),a=(e.attributes,e.className);e.setAttributes;return wp.element.createElement(cL,null,wp.element.createElement(nL,this.props),wp.element.createElement("div",{className:i()(a,n?"blockspare-block-service-table-"+n:"blockspare-block-service-table-center","blockspare-block-service-table"),itemScope:!0,itemType:"http://schema.org/Product"},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-block-service-table-inside")},wp.element.createElement(dL,{template:[["blockspare/blockspare-iconset",{}],["blockspare/blockspare-services-inner-title",{headerTitle:"Service Title",headerSubTitle:"Add your services text",titlePaddingTop:5,titlePaddingBottom:5,subtitlePaddingTop:5,subtitlePaddingBottom:5}],["blockspare/blockspare-services-inner-description",{features:"Aspernatur morbi sit cursus mauris aspernatur! Quos tortor. Ea montes anim.",tagName:"p",ordered:!1,customFontSize:18,paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}],["blockspare/blockspare-service-inner-button",{buttonText:"Get Started",paddingTop:15,paddingRight:20,paddingBottom:15,paddingLeft:20}]],renderAppender:!1,allowedBlocks:mL}))))}});wp.i18n.__;const bL=wp.element,gL=bL.Component,hL=(bL.Fragment,wp.compose.compose),yL=wp.blockEditor.InnerBlocks;var vL=hL(ut,lt(iL))(class extends gL{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.alignment),a=(t.padding,t.marginTop,t.marginBottom,e.className);e.attributes;return wp.element.createElement("div",{className:i()(a,"blockspare-blocks",n?"blockspare-block-service-table-"+n:"blockspare-block-service-table-center","blockspare-block-service-table")},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-block-service-table-inside")},wp.element.createElement(yL.Content,null)))}});function wL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function kL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wL(Object(n),!0).forEach((function(t){_L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SL=e=>{const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,o=t.backgroundColor,i=t.padding,l=[];return l.push({".blockspare-block-service-table-inside":kL({},Jo(e.attributes),{borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:a||null,borderRadius:r||null,backgroundColor:o||null,padding:i?i+"px":"5px"})}),dt.a.all(l)};wp.i18n.__;const EL=wp.element,TL=EL.Component,xL=(EL.Fragment,wp.compose.compose),ML=wp.blockEditor.InnerBlocks;var CL=xL(ut,lt(SL))(class extends TL{render(){const e=this.props,t=e.attributes,n=(t.borderWidth,t.borderColor,t.borderRadius,t.backgroundColor,t.alignment),a=(t.padding,t.marginTop,t.marginBottom,e.className);e.attributes;return wp.element.createElement("div",{className:i()(a,"blockspare-blocks blockspare-service-block-wrapper",n?"blockspare-block-service-table-"+n:"blockspare-block-service-table-center","blockspare-block-service-table")},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-block-service-table-inside")},wp.element.createElement(ML.Content,null)))}});function LL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function OL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const DL=wp.blockEditor.InnerBlocks;var jL=[{attributes:{borderWidth:{type:"number",default:1},borderColor:{type:"string",default:"#ececec"},borderRadius:{type:"number",default:0},backgroundColor:{type:"string",default:"#fff"},alignment:{type:"string"},padding:{type:"number",default:0}},save:function(e){const t=e.attributes,n=t.borderWidth,a=t.borderColor,r=t.borderRadius,o=t.backgroundColor,l=t.alignment,s=t.padding,c=(t.marginTop,t.marginBottom,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?LL(Object(n),!0).forEach((function(t){OL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Jo(e.attributes),{borderWidth:n||null,borderStyle:0<n?"solid":null,borderColor:a||null,borderRadius:r||null,backgroundColor:o||null,padding:s?s+"%":null}));return wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-service-block-wrapper",l?"blockspare-block-service-table-"+l:"blockspare-block-service-table-center","blockspare-block-service-table")},wp.element.createElement("div",{className:i()("blockspare-block-service-table-inside"),style:c},wp.element.createElement(DL.Content,null)))}},{attributes:{borderWidth:{type:"number",default:1},borderColor:{type:"string",default:"#ececec"},borderRadius:{type:"number",default:0},backgroundColor:{type:"string",default:"#fff"},alignment:{type:"string"},padding:{type:"number",default:0},uniqueClass:{type:"string",default:""}},save:e=>wp.element.createElement(CL,e)}];function FL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function PL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const YL=wp.i18n.__,NL=wp.blocks.registerBlockType,zL=qC.category,BL=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FL(Object(n),!0).forEach((function(t){PL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},qC.attributes,{},an),AL={title:YL("Service Inner Section","blockspare"),description:YL("Add a service column.","blockspare"),icon:r.services,category:zL,parent:["blockspare/blockspare-services"],keywords:[YL("service","blockspare"),YL("shop","blockspare"),YL("buy","blockspare")],attributes:BL,edit:fL,save:vL,deprecated:jL};NL("blockspare/blockspare-services-inner",AL);var HL=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=[];return r.push({".blockspare-service-block-wrapper":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0}}),dt.a.all(r)};function IL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function RL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const WL=wp.element,UL=WL.Component,GL=WL.Fragment,VL=(wp.components.IconButton,wp.blocks.createBlock),qL=wp.data,$L=qL.withSelect,JL=qL.withDispatch,XL=wp.blockEditor,KL=XL.InnerBlocks,QL=(XL.InspectorControls,XL.BlockControls),ZL=XL.BlockAlignmentToolbar,eO=wp.compose.compose;var tO=eO([$L((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,o=a.isBlockSelected,i=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:o(n)||i(n,!0)}}),JL(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}}),ut,lt(HL)])(class extends UL{constructor(...e){super(...e),RL(this,"getServiceTemplate",e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++)t.push(["blockspare/blockspare-services-inner",{}]);return t})}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertServiceItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=AL.heading;e=Object.assign({},{},{itemNumber:t,heading:n,active:!1,defaultText:""})}else e=AL;a(VL("blockspare/blockspare-services-inner",e),void 0,n)}render(){const e=this.props,t=e.attributes,n=(e.isSelectedBlockInRoot,e.attributes),a=(n.uniqueId,n.columns),r=n.columnsGap,o=(n.marginTop,n.marginBottom,n.align),l=e.className,s=(e.isSelected,e.setAttributes),c=i()(["blockspare-service-columns-"+a]),u=i()([void 0===o?"":l,"blockspare-main-blockwrapper"]);return wp.element.createElement(GL,null,wp.element.createElement(VC,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?IL(Object(n),!0).forEach((function(t){RL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:s},this.props)),wp.element.createElement(QL,{key:"controls"},wp.element.createElement(ZL,{value:o,onChange:e=>s({align:e}),controls:["center","wide","full"]})),wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:"blockspare-blocks blockspare-service-block-wrapper"},wp.element.createElement("div",{className:c},wp.element.createElement("div",{className:i()("blockspare-service-section-admin","blockspare-service-section-gap-"+r)},wp.element.createElement(KL,{template:this.getServiceTemplate(t),allowedBlocks:["blockspare/blockspare-services-inner"],renderAppender:!1}))))))}});wp.i18n.__;const nO=wp.element.Component,aO=wp.compose.compose,rO=wp.blockEditor.InnerBlocks;var oO=aO(ut,lt(HL))(class extends nO{render(){const e=this.props,t=e.attributes,n=t.columns,a=t.columnsGap,r=t.align,o=(t.marginTop,t.marginBottom,e.className),l=i()(["blockspare-service-table-wrap","blockspare-block-service-table-gap-"+a]),s=i()(["blockspare-service-columns-"+n]);let c="align"+r;void 0===r&&(c="alignwide");const u=i()([o,c,"blockspare-main-blockwrapper"]);return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-service-block-wrapper","blockspare-section-header-wrapper")},wp.element.createElement("div",{className:s},wp.element.createElement("div",{className:l||void 0},wp.element.createElement(rO.Content,null)))))}});const iO=wp.element.Component;class lO extends iO{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.columns,n=(e.columnsGap,e.align),a=i()([this.props.className,"blockspare-service-columns-"+t],{["align"+n]:n});return wp.element.createElement("div",{className:a||void 0},this.props.children)}}wp.i18n.__;const sO=wp.blockEditor.InnerBlocks;var cO=[{attributes:{serviceItems:{type:"number",default:2},columns:{type:"number",default:2},columnsGap:{type:"number",default:1},align:{type:"string"},defaultItems:{type:"number",default:2},sectionAlignment:{type:"string",default:"center"},marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}},save:function(e){const t=e.attributes,n=t.columnsGap,a=t.align,r=t.marginTop,o=t.marginBottom,l=i()(["blockspare-service-table-wrap","blockspare-block-service-table-gap-"+n]);return wp.element.createElement("div",{className:i()("blockspare-blocks blockspare-service-block-wrapper","blockspare-section-header-wrapper","align"+a),style:{marginTop:r?r+"px":void 0,marginBottom:o?o+"px":void 0}},wp.element.createElement(lO,e,wp.element.createElement("div",{className:l||void 0},wp.element.createElement(sO.Content,null))))}}];const uO=wp.i18n.__,pO=(wp.element.Component,wp.blocks.registerBlockType),dO=(wp.blockEditor.InnerBlocks,AC.name),mO=AC.category,fO=AC.attributes;pO(dO,{title:uO("BS Services","blockspare"),description:uO("Add a service section.","blockspare"),icon:r.services,category:mO,keywords:["blockspare",uO("block","blockspare"),uO("services","blockspare"),uO("box","blockspare"),uO("portfolio","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},attributes:fO,getEditWrapperProps({align:e}){if("right"===e||"full"===e||"wide"===e)return{"data-align":e}},edit:tO,save:oO,deprecated:cO});var bO=n(100);const gO=wp.i18n.__,hO=wp.element.Component,yO=(wp.compose.compose,wp.blockEditor.InspectorControls),vO=wp.components,wO=(vO.withFallbackStyles,vO.PanelBody),kO=vO.SelectControl;class _O extends hO{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.subtitleFontSize,t.headerTagOption),a=t.headertitleColor,r=t.headersubtitleColor,o=t.headerlayoutOption,i=t.titlePaddingTop,l=t.titlePaddingBottom,s=t.subtitlePaddingTop,c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontSize,m=t.titleLoadGoogleFonts,f=t.titleFontFamily,b=t.titleFontWeight,g=t.titleFontSubset,h=t.titleFontSizeType,y=t.titleFontSizeMobile,v=t.titleFontSizeTablet,w=t.subTitleFontSize,k=t.subTitleLoadGoogleFonts,_=t.subTitleFontFamily,S=t.subTitleFontWeight,E=t.subTitleFontSubset,T=t.subTitleFontSizeType,x=t.subTitleFontSizeMobile,M=t.subTitleFontSizeTablet,C=e.attributes,L=e.setAttributes,O=[{value:"blockspare-style1",label:gO("Layout 1","blockspare")},{value:"blockspare-style2",label:gO("Layout 2","blockspare")},{value:"blockspare-style3",label:gO("Layout 3","blockspare")}];return wp.element.createElement(yO,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(wO,{title:gO("Header Settings","blockspare"),initialOpen:!0},wp.element.createElement(wO,{title:gO("Layouts","blockspare"),initialOpen:!1},wp.element.createElement(kO,{label:gO("Header Style","blockspare"),value:o,options:O.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>this.props.setAttributes({headerlayoutOption:e})})),wp.element.createElement(wO,{title:gO("Typography Settings","blockspare")},wp.element.createElement(ho,{label:gO("Title Fonts Settings"),attributes:C,setAttributes:L,loadGoogleFonts:{value:m,label:gO("titleLoadGoogleFonts")},fontFamily:{value:f,label:gO("titleFontFamily")},fontWeight:{value:b,label:gO("titleFontWeight")},fontSubset:{value:g,label:gO("titleFontSubset")},fontSizeType:{value:h,label:gO("titleFontSizeType")},fontSize:{value:d,label:gO("titleFontSize")},fontSizeMobile:{value:y,label:gO("titleFontSizeMobile")},fontSizeTablet:{value:v,label:gO("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:n}),wp.element.createElement(ho,{label:gO("Subtitle Fonts Settings"),attributes:C,setAttributes:L,loadGoogleFonts:{value:k,label:gO("subTitleLoadGoogleFonts")},fontFamily:{value:_,label:gO("subTitleFontFamily")},fontWeight:{value:S,label:gO("subTitleFontWeight")},fontSubset:{value:E,label:gO("subTitleFontSubset")},fontSizeType:{value:T,label:gO("subTitleFontSizeType")},fontSize:{value:w,label:gO("subTitleFontSize")},fontSizeMobile:{value:x,label:gO("subTitleFontSizeMobile")},fontSizeTablet:{value:M,label:gO("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0})),wp.element.createElement(pn,{enableBlockGaps:!1,headerboxColor:p,onChangeboxcolor:e=>L({headerboxColor:e}),dashColor:u,headerlayoutOption:o,onChangeDashColor:e=>L({dashColor:e}),headertitleColor:a,onChangetitlecolor:e=>L({headertitleColor:e}),titlePaddingTop:i,onChangetitlePaddingTop:e=>L({titlePaddingTop:e}),titlePaddingBottom:l,onChangetitlePaddingBottom:e=>L({titlePaddingBottom:e}),headersubtitleColor:r,onChangesubtitlecolor:e=>L({headersubtitleColor:e}),subtitlePaddingTop:s,onChangesubtitlePaddingTop:e=>L({subtitlePaddingTop:e}),subtitlePaddingBottom:c,onChangesubtitlePaddingBottom:e=>L({subtitlePaddingBottom:e})}))))}}var SO=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,o=t.titlePaddingTop,i=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,y=(t.subTitleLoadGoogleFonts,t.subTitleFontFamily),v=t.subTitleFontWeight,w=(t.subTitleFontSubset,t.subTitleFontSizeType),k=t.subTitleFontSizeMobile,_=t.subTitleFontSizeTablet,S=t.headerpaddingTop,E=(t.headerpaddingRight,t.headerpaddingBottom),T=(t.headerpaddingLeft,t.headermarginTop,t.headermarginBottom,[]);return T.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:S+"px",paddingBottom:E+"px"}}),T.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m,paddingTop:o+"px ",paddingBottom:i+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+w,fontFamily:y,fontWeight:v,paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:_+w}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+w}}}),dt.a.all(T)};wp.i18n.__;const EO=wp.compose.compose,TO=wp.element,xO=TO.Component,MO=TO.Fragment,CO=wp.blockEditor;CO.RichText,CO.withFontSizes,CO.withColors;var LO=EO(ut,lt(SO))(class extends xO{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTagOption,o=t.headerTitle,l=t.headerSubTitle,s=t.headerlayoutOption,c=t.titleLoadGoogleFonts,u=t.titleFontFamily,p=t.titleFontWeight,d=t.subTitleLoadGoogleFonts,m=t.subTitleFontFamily,f=t.subTitleFontWeight,b=e.className,g=(e.attributes,e.setAttributes),h=i()([b,"blockspare-section-header-wrapper blockspare-blocks","align"+n]);return[wp.element.createElement(MO,null,wp.element.createElement(_O,this.props),wp.element.createElement("div",{className:h},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement($o,{setAttributes:g,headerTitle:o,headerTagOption:r,headerSubTitle:l,titleFontFamily:u,titleFontWeight:p,titleLoadGoogleFonts:c,subTitleLoadGoogleFonts:d,subTitleFontFamily:m,subTitleFontWeight:f}))))]}});wp.i18n.__,wp.blockEditor.RichText;const OO=wp.compose.compose,DO=wp.element,jO=DO.Component;DO.Fragment;var FO=OO(ut,lt(SO))(class extends jO{render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerTitle,o=t.headerTagOption,l=t.headerSubTitle,s=t.headerlayoutOption,c=e.className,u=(e.attributes,e.setAttributes,e.isSelected,i()([c,"blockspare-section-header-wrapper blockspare-blocks","align"+n]));return wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",s,"blockspare-"+a)},wp.element.createElement(Ei,{headerTitle:r,headerTagOption:o,headerSubTitle:l})))}});function PO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function YO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const NO=wp.element.Component;class zO extends NO{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerlayoutOption,o=e.attributes,l=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PO(Object(n),!0).forEach((function(t){YO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ai(o)));return wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks","align"+n),style:l},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",r,"blockspare-"+a)},this.props.children))}}function BO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function AO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?BO(Object(n),!0).forEach((function(t){HO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const IO=wp.editor,RO=IO.RichText;IO.getFontSizeClass,IO.getColorClassName;var WO=[{attributes:AO({},nn),save:function(e){const t=e.attributes,n=t.headerTagOption,a=t.headerTitle,r=t.headerSubTitle,o=AO({},Di(e.attributes)),i=AO({},ji(e.attributes)),l=AO({},Fi(e.attributes));return wp.element.createElement("div",{className:"blockspare-title-wrap"},wp.element.createElement(zO,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:o}),a&&wp.element.createElement(RO.Content,{tagName:n,className:"blockspare-title",style:i,value:a}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:o})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:o}),r&&wp.element.createElement(RO.Content,{tagName:"p",className:"blockspare-subtitle",style:l,value:r}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:o}))))}}];function UO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function GO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const VO=wp.i18n.__,qO=wp.blocks.registerBlockType,$O=bO.name,JO=bO.category,XO=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UO(Object(n),!0).forEach((function(t){GO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},nn);qO($O,{title:VO("Service Title","blockspare"),description:VO("Adds a product title component with schema markup.","blockspare"),icon:r.sectionHeader,category:JO,parent:["blockspare/blockspare-services-inner"],keywords:[VO("Service","blockspare"),VO("title","blockspare")],attributes:XO,edit:LO,save:FO,deprecated:WO});var KO=n(69);const QO=wp.i18n.__,ZO=wp.element.Component,eD=(wp.compose.compose,wp.blockEditor),tD=eD.InspectorControls,nD=(eD.FontSizePicker,eD.PanelColorSettings),aD=(eD.ColorPalette,wp.components),rD=(aD.withFallbackStyles,aD.PanelBody);aD.PanelRow,aD.SelectControl,aD.BaseControl,aD.RangeControl;class oD extends ZO{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.borderStyle,t.borderColor,t.borderWidth,t.backgroundColor,t.paddingTop),a=t.paddingRight,r=t.paddingBottom,o=t.paddingLeft,i=t.descriptionFontSize,l=t.descriptionFontFamily,s=t.descriptionFontWeight,c=t.descriptionFontSubset,u=t.descriptionFontSizeType,p=t.descriptionFontSizeMobile,d=t.descriptionFontSizeTablet,m=t.descriptionLoadGoogleFonts,f=e.attributes,b=e.setAttributes,g=e.textColor;QO("None"),QO("Solid"),QO("Dotted"),QO("Dashed");return wp.element.createElement(tD,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(rD,{title:QO("Typography Settings","blockspare")},wp.element.createElement(ho,{label:QO("Description Fonts Settings"),attributes:f,setAttributes:b,loadGoogleFonts:{value:m,label:QO("descriptionLoadGoogleFonts")},fontFamily:{value:l,label:QO("descriptionFontFamily")},fontWeight:{value:s,label:QO("descriptionFontWeight")},fontSubset:{value:c,label:QO("descriptionFontSubset")},fontSizeType:{value:u,label:QO("descriptionFontSizeType")},fontSize:{value:i,label:QO("descriptionFontSize")},fontSizeMobile:{value:p,label:QO("descriptionFontSizeMobile")},fontSizeTablet:{value:d,label:QO("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(nD,{title:QO("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:g,onChange:e=>b({textColor:e}),label:QO("Text Color","blockspare")}]}),wp.element.createElement(rD,{title:QO("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:n,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>b({paddingTop:e}),paddingEnableRight:!0,paddingRight:a,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>b({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:r,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>b({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:o,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>b({paddingLeft:e})}))))}}var iD=e=>{const t=e.attributes,n=(t.customFontSize,t.backgroundColor),a=t.textColor,r=t.paddingTop,o=t.paddingRight,i=t.paddingBottom,l=t.paddingLeft,s=t.descriptionFontSize,c=t.descriptionFontFamily,u=t.descriptionFontWeight,p=(t.descriptionFontSubset,t.descriptionFontSizeType),d=t.descriptionFontSizeMobile,m=t.descriptionFontSizeTablet,f=(t.descriptionLoadGoogleFonts,[]);return f.push({".blockspare-services-inner-description":{fontSize:s+p,fontFamily:c,fontWeight:u,color:a||"#6d6d6d",backgroundColor:n,paddingTop:r?r+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:i?i+"px":void 0,paddingLeft:l?l+"px":void 0},tablet:{".blockspare-services-inner-description":{fontSize:m+p}},mobile:{".blockspare-services-inner-description":{fontSize:d+p}}}),dt.a.all(f)};const lD=wp.i18n.__,sD=wp.compose.compose,cD=wp.element,uD=cD.Component,pD=cD.Fragment,dD=wp.blockEditor.RichText;var mD=sD([ut,lt(iD)])(class extends uD{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.features,a=t.descriptionLoadGoogleFonts,r=t.descriptionFontFamily,o=t.descriptionFontWeight,l=(e.isSelected,e.className),s=e.setAttributes;let c;if(1==a){const e={google:{families:[r+(o?":"+o:"")]}};c=wp.element.createElement(Io,{config:e})}const u=i()([l,"blockspare-services-description"]);return[wp.element.createElement(pD,null,wp.element.createElement(oD,this.props),wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement(dD,{tagName:"p",itemProp:"description",placeholder:lD("Add a service feature","blockspare"),keepPlaceholderOnFocus:!0,value:n,onChange:e=>s({features:e}),className:"blockspare-services-inner-description"})),c)]}});wp.i18n.__;const fD=wp.compose.compose,bD=wp.element,gD=bD.Component,hD=(bD.Fragment,wp.blockEditor),yD=hD.RichText;hD.withFontSizes,hD.withColors;var vD=fD([ut,lt(iD)])(class extends gD{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes.features,n=e.className,a=i()([n,"blockspare-services-description"]);return wp.element.createElement("div",{className:a},this.props.styles,wp.element.createElement(yD.Content,{tagName:"p",itemProp:"description",value:t,className:"blockspare-services-inner-description"}))}}),wD=n(101);var kD=e=>{const t=e.attributes,n=(t.customFontSize,t.backgroundColor),a=t.textColor,r=t.paddingTop,o=t.paddingRight,i=t.paddingBottom,l=t.paddingLeft,s=t.descriptionFontSize,c=t.descriptionFontFamily,u=t.descriptionFontWeight,p=(t.descriptionFontSubset,t.descriptionFontSizeType),d=t.descriptionFontSizeMobile,m=t.descriptionFontSizeTablet,f=(t.descriptionLoadGoogleFonts,[]);return f.push({".blockspare-services-inner-description":{fontSize:s+p,fontFamily:c,fontWeight:u,color:a||"#6d6d6d",backgroundColor:n,paddingTop:r?r+"px":void 0,paddingRight:o?o+"px":void 0,paddingBottom:i?i+"px":void 0,paddingLeft:l?l+"px":void 0},tablet:{".blockspare-services-inner-description":{fontSize:m+p}},mobile:{".blockspare-services-inner-description":{fontSize:d+p}}}),dt.a.all(f)};wp.i18n.__;const _D=wp.compose.compose,SD=wp.element,ED=SD.Component,TD=(SD.Fragment,wp.blockEditor),xD=TD.RichText;TD.withFontSizes,TD.withColors;var MD=_D([ut,lt(kD)])(class extends ED{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes.features,n=e.className,a=i()([n,"blockspare-services-description"]);return wp.element.createElement("div",{className:a},this.props.styles,wp.element.createElement(xD.Content,{tagName:"p",itemProp:"description",value:t,className:"blockspare-services-inner-description"}))}});function CD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function LD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const OD=wp.blockEditor,DD=OD.RichText,jD=OD.getFontSizeClass,FD=OD.getColorClassName;var PD=[{attributes:wD.attributes,save:function(e){const t=e.attributes,n=t.features,a=t.fontSize,r=t.customFontSize,o=t.backgroundColor,l=t.textColor,s=t.customBackgroundColor,c=(t.customTextColor,t.paddingTop),u=t.paddingRight,p=t.paddingBottom,d=t.paddingLeft,m=jD(a),f=FD("background-color",o),b=i()({"has-background":o||s,"blockspare-service-table-features":!0,[m]:m,[f]:f}),g={fontSize:m?void 0:r,backgroundColor:f?void 0:s,color:l||"#6d6d6d",paddingTop:c?c+"px":void 0,paddingRight:u?u+"px":void 0,paddingBottom:p?p+"px":void 0,paddingLeft:d?d+"px":void 0};return wp.element.createElement(DD.Content,{tagName:"p",itemProp:"description",value:n,className:b||void 0,style:g})}},{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CD(Object(n),!0).forEach((function(t){LD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},wD.attributes),save:e=>wp.element.createElement(MD,e)}];const YD=wp.i18n.__,ND=wp.blocks.registerBlockType,zD=wp.blockEditor,BD=(zD.RichText,zD.getFontSizeClass,zD.getColorClassName,KO.name),AD=KO.category,HD=KO.attributes;ND(BD,{title:YD("Service Features","blockspare"),description:YD("Adds a feature component with schema markup.","blockspare"),icon:r.iconlist,category:AD,parent:["blockspare/blockspare-services-inner"],keywords:[YD("Service table","blockspare"),YD("features","blockspare"),YD("shop","blockspare")],attributes:HD,edit:mD,save:vD,deprecated:PD});var ID=n(13);const RD=wp.i18n.__,WD=wp.element.Component,UD=wp.compose.compose,GD=wp.blockEditor,VD=GD.InspectorControls,qD=GD.withFontSizes,$D=GD.withColors,JD=GD.PanelColorSettings,XD=wp.components,KD=XD.withFallbackStyles,QD=XD.PanelBody,ZD=XD.ToggleControl,ej=KD((e,t)=>{const n=t.attributes.backgroundColor,a=e.querySelector('[contenteditable="true"]'),r=a?getComputedStyle(a):null;return{fallbackBackgroundColor:n||!r?void 0:r.backgroundColor}});var tj=UD([ej,qD("fontSize"),$D("backgroundColor")])(class extends WD{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.buttonStyle,a=t.borderColor,r=t.borderBtnTextColor,o=t.buttonBackgroundColor,i=t.buttonTextColor,l=t.buttonSize,s=t.buttonShape,c=t.buttonTarget,u=t.paddingTop,p=t.paddingBottom,d=t.enableGradient,m=t.backgroundColor1,f=t.backgroundColor2,b=t.gradientAngle,g=t.colorLocation1,h=t.colorLocation2,y=t.btnFontWeight,v=t.btnBorderWidth,w=t.buttonHoverEffect,k=t.btnBackgroudColor,_=e.setAttributes;e.backgroundColor,e.setBackgroundColor;return wp.element.createElement(VD,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(QD,{title:RD("Button Settings","blockspare"),initialOpen:!1},wp.element.createElement(_e,{enableButtonTarget:!1,buttonTarget:c,onChangeButtonTarget:e=>_({buttonTarget:!c}),enableGradient:d,onChangeGradient:e=>_({enableGradient:e}),enableButtonSize:!0,buttonSize:l,onChangeButtonSize:e=>_({buttonSize:e}),enableButtonShape:!0,buttonShape:s,onChangeButtonShape:e=>_({buttonShape:e}),buttonBackgroundColor:o,onChangeButtonColor:e=>_({buttonBackgroundColor:e}),buttonTextColor:i,onChangeButtonTextColor:e=>_({buttonTextColor:e}),enableButtonStyle:!1,buttonStyle:n,onChangeBorderStyle:e=>_({buttonStyle:e}),buttonHoverEffect:w,onchangeButtonHoverEffect:e=>_({buttonHoverEffect:e}),borderColor:a,onchangeBorderColor:e=>_({borderColor:e}),borderBtnTextColor:r,onChangeBorderBtnTextColor:e=>_({borderBtnTextColor:e}),enableBtnBorderWidth:!1,btnBorderWidth:v,onchangebtnBorderWidth:e=>_({btnBorderWidth:e}),enableBtnFontWeight:!1,btnFontWeight:y,onchangeBtnFontWeight:e=>_({btnFontWeight:e})}),"none"===n&&wp.element.createElement(ZD,{label:RD("Enable Gradient","blockspare"),checked:d,onChange:()=>this.props.setAttributes({enableGradient:!d})}),d&&"none"===n&&wp.element.createElement(QD,{title:RD("Gradient Option","blockspare"),initialOpen:!0},wp.element.createElement(Me,{backgroundColor1:m,onChangeBackgroundColor1:e=>_({backgroundColor1:e}),backgroundColor2:f,onChangeBackgroundColor2:e=>_({backgroundColor2:e}),gradientAngle:b,onChangeGradientAngle:e=>_({gradientAngle:e}),colorLocation1:g,onChangeColorLocation1:e=>_({colorLocation1:e}),colorLocation2:h,onChangeColorLocation2:e=>_({colorLocation2:e})}))),wp.element.createElement(JD,{title:RD("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:k,onChange:e=>_({btnBackgroudColor:e}),label:RD("Background Color","blockspare")}]}),wp.element.createElement(QD,{title:RD("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:u,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>_({paddingTop:e}),paddingEnableBottom:!0,paddingBottom:p,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>_({paddingBottom:e})}))))}});var nj=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,l=t.btnBackgroudColor,s=t.buttonStyle,c=t.enableGradient,u=t.backgroundColor1,p=t.backgroundColor2,d=t.gradientAngle,m=t.colorLocation1,f=t.colorLocation2,b=t.btnFontWeight,g=t.btnBorderWidth,h=t.borderColor,y=t.buttonBackgroundColor,v=t.borderBtnTextColor,w=t.buttonTextColor,k=[];if(k.push({".blockspare-block-button":{textAlign:n},".blockspare-service-button":{backgroundColor:l,paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:o?o+"px":"0px",paddingLeft:i?i+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),"none"===s)if(1==c){const e=d+"deg",t=m+"%",n=f+"%";k.push({".blockspare-block-button span":{color:w||"#fff",fontWeight:b,borderWidth:g+"px"},".blockspare-block-button .blockspare-button":{backgroundImage:`linear-gradient(${e},${u||"#3B1A5B"} ${t},${p||"#8B249C"} ${n})`}})}else k.push({".blockspare-block-button span":{color:w||"#fff",fontWeight:b,borderWidth:g+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:y||"#3c1a5b"}});else k.push({".blockspare-block-button span":{color:v||"#404040",borderColor:h||"#3c1a5b",borderStyle:s,fontWeight:b,borderWidth:g+"px"},".blockspare-block-button .blockspare-button":{backgroundColor:"transparent"}});return dt.a.all(k)};const aj=wp.i18n.__,rj=wp.compose.compose,oj=wp.element,ij=oj.Component,lj=oj.Fragment,sj=wp.blockEditor,cj=sj.RichText,uj=(sj.withFontSizes,sj.withColors,sj.URLInput),pj=wp.components,dj=pj.IconButton,mj=pj.Dashicon;var fj=rj([ut,lt(nj)])(class extends ij{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=(t.paddingTop,t.paddingBottom,t.buttonText),a=t.buttonUrl,r=t.buttonAlignment,o=(t.buttonBackgroundColor,t.buttonTextColor,t.buttonSize),l=t.buttonShape,s=t.buttonHoverEffect,c=e.className,u=e.isSelected,p=(e.attributes,e.setAttributes),d=(e.backgroundColor,i()({"blockspare-service-button":!0})),m=i()([c,"blockspare-block-button-wrap"]);return[wp.element.createElement(lj,null,wp.element.createElement(tj,this.props),wp.element.createElement("div",{className:m},this.props.styles,wp.element.createElement("div",{className:d||void 0},wp.element.createElement("div",{style:{textAlign:this.props.attributes.sectionAlignment},className:i()(this.props.className,"blockspare-block-button")},wp.element.createElement(cj,{tagName:"span",placeholder:aj("Button text...","blockspare"),keepPlaceholderOnFocus:!0,value:`<span>${n}</span>`,allowedFormats:[],className:i()("blockspare-button",l,o,s),onChange:e=>p({buttonText:e})})),u&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link blockspare-button-"+r,onSubmit:e=>e.preventDefault(),style:{textAlign:r}},wp.element.createElement(mj,{icon:"admin-links"}),wp.element.createElement(uj,{className:"button-url",value:a,onChange:e=>p({buttonUrl:e})}),wp.element.createElement(dj,{icon:"editor-break",label:aj("Apply","blockspare"),type:"submit"})))))]}});const bj=wp.compose.compose,gj=wp.element,hj=gj.Component,yj=(gj.Fragment,wp.blockEditor),vj=yj.RichText,wj=yj.getColorClassName;var kj=bj(ut,lt(nj))(class extends hj{render(){const e=this.props,t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=(t.paddingTop,t.paddingBottom,t.buttonText),o=t.buttonUrl,l=t.sectionAlignment,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.buttonHoverEffect,d=(e.attributes,e.className),m=wj("background-color",n),f=i()({"has-background":n||a,"blockspare-service-button":!0,[m]:m}),b=i()([d,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:f||void 0},wp.element.createElement("div",{style:{textAlign:l},className:i()(d,"blockspare-block-button")},r&&wp.element.createElement("a",{href:o,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:i()("blockspare-button",c,s,p)},wp.element.createElement(vj.Content,{tagName:"span",value:r})))))}});function _j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Sj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_j(Object(n),!0).forEach((function(t){Ej(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ej(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tj=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,l=t.btnBackgroudColor,s=[];return s.push({".blockspare-block-button":{textAlign:n},".blockspare-button":Sj({},Pt(e.attributes)),".blockspare-service-button":{backgroundColor:l,paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:o?o+"px":"0px",paddingLeft:i?i+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),dt.a.all(s)};const xj=wp.compose.compose,Mj=wp.element,Cj=Mj.Component,Lj=(Mj.Fragment,wp.blockEditor),Oj=Lj.RichText,Dj=Lj.getColorClassName;var jj=xj(ut,lt(Tj))(class extends Cj{render(){const e=this.props,t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=(t.paddingTop,t.paddingBottom,t.buttonText),o=t.buttonUrl,l=t.sectionAlignment,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.buttonHoverEffect,d=(e.attributes,e.className),m=Dj("background-color",n),f=i()({"has-background":n||a,"blockspare-service-button":!0,[m]:m}),b=i()([d,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:f||void 0},wp.element.createElement("div",{style:{textAlign:l},className:i()(d,"blockspare-block-button")},r&&wp.element.createElement("a",{href:o,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:i()("blockspare-button",c,s,p)},wp.element.createElement(Oj.Content,{value:r})))))}});function Fj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Pj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fj(Object(n),!0).forEach((function(t){Yj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nj=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,l=t.btnBackgroudColor,s=[];return s.push({".blockspare-block-button":{textAlign:n},".blockspare-button":Pj({},Ft(e.attributes)),".blockspare-service-button":{backgroundColor:l,paddingTop:a?a+"px":"0px",paddingRight:r?r+"px":"0px",paddingBottom:o?o+"px":"0px",paddingLeft:i?i+"px":"0px"},"blocks-button__inline-link":{textAlign:n}}),dt.a.all(s)};const zj=wp.compose.compose,Bj=wp.element,Aj=Bj.Component,Hj=(Bj.Fragment,wp.blockEditor),Ij=Hj.RichText,Rj=Hj.getColorClassName;var Wj=zj(ut,lt(Nj))(class extends Aj{render(){const e=this.props,t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=(t.paddingTop,t.paddingBottom,t.buttonText),o=t.buttonUrl,l=t.sectionAlignment,s=t.buttonSize,c=t.buttonShape,u=t.buttonTarget,p=t.buttonHoverEffect,d=(e.attributes,e.className),m=Rj("background-color",n),f=i()({"has-background":n||a,"blockspare-service-button":!0,[m]:m}),b=i()([d,"blockspare-block-button-wrap"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:f||void 0},wp.element.createElement("div",{style:{textAlign:l},className:i()(d,"blockspare-block-button")},r&&wp.element.createElement("a",{href:o,target:u?"_blank":null,rel:u?"noopener noreferrer":null,className:i()("blockspare-button",c,s,p)},wp.element.createElement(Ij.Content,{value:r})))))}});function Uj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Gj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uj(Object(n),!0).forEach((function(t){Vj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const qj=wp.blockEditor,$j=qj.RichText,Jj=qj.getColorClassName;var Xj=[{attributes:Gj({},ID.attributes,{},jt),edit:function(e){},save:function(e){const t=e.attributes,n=t.backgroundColor,a=t.customBackgroundColor,r=t.paddingTop,o=t.paddingBottom,l=t.buttonText,s=t.buttonUrl,c=t.sectionAlignment,u=t.buttonSize,p=t.buttonShape,d=t.buttonTarget,m=t.buttonHoverEffect,f=(t.className,Jj("background-color",n)),b=i()({"has-background":n||a,"blockspare-service-button":!0,[f]:f}),g=Gj({},Pi(e.attributes)),h={backgroundColor:f?void 0:a,paddingTop:r?r+"px":void 0,paddingBottom:o?o+"px":void 0};return wp.element.createElement("div",{className:b||void 0,style:h},wp.element.createElement("div",{style:{textAlign:c},className:i()("blockspare-block-button")},l&&wp.element.createElement("a",{href:s,target:d?"_blank":null,rel:d?"noopener noreferrer":null,className:i()("blockspare-button",p,u,m),style:g},wp.element.createElement($j.Content,{value:l}))))}},{attributes:Gj({},ID.attributes,{},jt),save:e=>wp.element.createElement(Wj,e)},{attributes:Gj({},ID.attributes,{},jt),save:e=>wp.element.createElement(jj,e)}];function Kj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Qj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Zj=wp.i18n.__,eF=wp.blocks.registerBlockType,tF=wp.blockEditor,nF=(tF.RichText,tF.getColorClassName,ID.name),aF=ID.category,rF=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kj(Object(n),!0).forEach((function(t){Qj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ID.attributes,{},jt);eF(nF,{title:Zj("Button","blockspare"),description:Zj("Adds a product title component with schema markup.","blockspare"),icon:r.button,category:aF,parent:["blockspare/blockspare-services-inner"],keywords:[Zj("Services","blockspare"),Zj("title","blockspare"),Zj("shop","blockspare")],attributes:rF,edit:fj,save:kj,deprecated:Xj});n(490);var oF=n(35);const iF=e=>wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{fill:e.fillColor},fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})),lF=e=>wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{fill:e.fillColor},fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"})),sF=e=>wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{fill:e.fillColor},fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25",id:"star"})),cF=wp.i18n.__,uF=wp.element.Component,pF=wp.blockEditor,dF=pF.InspectorControls,mF=(pF.PanelColorSettings,wp.components),fF=mF.PanelBody,bF=mF.RangeControl;class gF extends uF{render(){const e=this.props,t=e.attributes,n=t.starCount,a=(t.starSize,t.starColor,t.backgroundColor,e.setAttributes);return wp.element.createElement(dF,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(fF,{title:cF("Star Settings","blockspare"),initialOpen:!1},wp.element.createElement(bF,{label:cF("Number Of Stars","blockspare"),value:n,onChange:e=>a({starCount:e}),min:1,max:5,step:1}))))}}var hF=e=>{const t=e.attributes.backgroundColor,n=[];return n.push({".blockspare-section":{backgroundColor:t||"transparent"}}),dt.a.all(n)};wp.i18n.__;const yF=wp.element,vF=yF.Fragment,wF=yF.Component,kF=wp.compose.compose,_F=wp.blockEditor,SF=_F.BlockControls,EF=_F.AlignmentToolbar;var TF=kF(ut,lt(hF))(class extends wF{render(){const e=this.props,t=e.attributes,n=t.starAlign,a=t.starCount,r=t.starSize,o=t.starColor,l=t.selectedStars,s=t.emptyStarColor,c=(t.backgroundColor,e.className),u=e.highlightedStars,p=e.setAttributes,d=i()([c,"blockspare-ratings"]);return wp.element.createElement(vF,null,wp.element.createElement(SF,null,wp.element.createElement(EF,{value:n,onChange:e=>{p({starAlign:e})}})),wp.element.createElement(gF,this.props),wp.element.createElement("div",{className:d},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-block-star-ratings-wrap")},wp.element.createElement("div",{className:i()("blockspare-star-inner-container","star-align-"+n),onMouseLeave:()=>this.setState({highlightedStars:0})},[...Array(a)].map((e,t)=>wp.element.createElement("div",{className:"blockspare-ratings",key:t,onMouseEnter:()=>{this.setState({highlightedStars:t+1})},onClick:()=>{p(l%1==0?{selectedStars:t+(l-1===t?.5:1)}:{selectedStars:t+(l-.5===t?1:.5)})}},t<(u||l)?u?u-1===t?l%1>0?u-l-.5!=0?wp.element.createElement(lF,{size:r,fillColor:o||"#fbd012"}):wp.element.createElement(sF,{size:r,fillColor:o||"#fbd012"}):u-l!=0?wp.element.createElement(sF,{size:r,fillColor:o||"#fbd012"}):wp.element.createElement(lF,{size:r,fillColor:o||"#fbd012"}):wp.element.createElement(sF,{size:r,fillColor:o||"#fbd012"}):l-t>=1?wp.element.createElement(sF,{size:r,fillColor:o||"#fbd012"}):wp.element.createElement(lF,{size:r,fillColor:o||"#fbd012"}):wp.element.createElement(iF,{size:r,fillColor:s||"#d5d3d3"})))))))}});wp.blockEditor.RichText;const xF=wp.element.Component,MF=wp.compose.compose;var CF=MF(ut,lt(hF))(class extends xF{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.starAlign,a=t.starCount,r=t.starSize,o=t.starColor,l=t.selectedStars,s=t.emptyStarColor,c=(t.backgroundColor,e.className),u=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"}))),p=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let d=[];for(let e=0;e<a;e++)d.push(e<l?l-e>=1?(m=r,f=o,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:f||"#fbd012",width:m,height:m,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):u(r,o):p(r,s));var m,f;const b=i()([c,"blockspare-ratings"]);return wp.element.createElement("div",{className:b},this.props.styles,wp.element.createElement("div",{className:"blockspare-block-star-ratings-wrap"},wp.element.createElement("div",{className:i()("blockspare-star-inner-container","star-align-"+n)},d)))}});function LF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function OF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var DF=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?LF(Object(n),!0).forEach((function(t){OF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},oF.attributes),save:function(e){const t=e.attributes,n=t.starAlign,a=t.starCount,r=t.starSize,o=t.starColor,l=t.selectedStars,s=t.emptyStarColor,c=t.backgroundColor,u=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"}))),p=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let d=[];for(let e=0;e<a;e++)d.push(e<l?l-e>=1?(m=r,f=o,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:f||"#fbd012",width:m,height:m,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):u(r,o):p(r,s));var m,f;return wp.element.createElement("div",{className:"blockspare-block-star-ratings-wrap",style:{backgroundColor:c||"transparent"}},wp.element.createElement("div",{className:i()("blockspare-star-inner-container","star-align-"+n)},d))}}];const jF=wp.i18n.__,FF=wp.blocks.registerBlockType,PF=oF.name,YF=oF.category,NF=oF.attributes;FF(PF,{title:jF("BS Star Ratings","blockspare"),description:jF("Display creative star ratings.","blockspare"),category:YF,icon:r.starrating,attributes:NF,example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},keywords:[jF("block","blockspare"),jF("star","blockspare"),jF("review","blockspare"),jF("rating","blockspare")],edit:TF,save:CF,deprecated:DF});n(491);var zF=n(70),BF=n(9),AF=n.n(BF);const HF=wp.i18n.__,IF=wp.element,RF=IF.Component,WF=(IF.Fragment,wp.blockEditor),UF=WF.InspectorControls,GF=WF.PanelColorSettings,VF=wp.components,qF=VF.PanelBody,$F=VF.SelectControl;VF.RangeControl;class JF extends RF{render(){const e=this.props,t=e.attributes,n=(t.tabStyle,t.tabLayout),a=t.tabBackGroundColor,r=t.activeTabBackgroundColor,o=t.tabTextColor,i=t.activetabTextColor,l=(t.tabAlignment,e.setAttributes),s=(HF("Default","blockspare"),HF("Vertical","blockspare"),[{value:"blockspare-layout1",label:HF("Layout 1","blockspare")},{value:"blockspare-layout2",label:HF("Layout 2","blockspare")}]);HF("Left","blockspare"),HF("Right","blockspare"),HF("center","blockspare");return wp.element.createElement(UF,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(qF,{title:HF("Tab Settings"),initialOpen:!1},wp.element.createElement($F,{label:HF("Tab Layout","blockspare"),options:s,value:n,onChange:e=>this.props.setAttributes({tabLayout:e})})),wp.element.createElement(GF,{title:HF("Color Settings","blockspare"),initialOpen:!1,colorSettings:[{value:o,onChange:e=>l({tabTextColor:e}),label:HF("Text Color","blockspare")},{value:i,onChange:e=>l({activetabTextColor:e}),label:HF("Active Text Color","blockspare")},{value:a,onChange:e=>l({tabBackGroundColor:e}),label:HF("Tab Background Color","blockspare")},{value:r,onChange:e=>l({activeTabBackgroundColor:e}),label:HF("Active Tab Background Color","blockspare")}]})))}}function XF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function KF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?XF(Object(n),!0).forEach((function(t){QF(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XF(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function QF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ZF=wp.i18n.__,eP=wp.components,tP=eP.Tooltip,nP=(eP.PanelBody,eP.Toolbar,wp.compose.compose),aP=wp.data,rP=aP.withSelect,oP=aP.withDispatch,iP=wp.element,lP=iP.Component,sP=iP.Fragment,cP=wp.blockEditor,uP=cP.InnerBlocks,pP=cP.RichText;var dP=nP([rP((e,t)=>{const n=t.clientId;return{block:(0,e("core/block-editor").getBlock)(n)}}),oP(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,removeBlock:t.removeBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends lP{constructor(e){super(e),QF(this,"updateTitles",(e,t)=>{const n=this.props,a=n.attributes.tabTitles;(0,n.setAttributes)({tabTitles:a.map((n,a)=>(t===a&&(n=KF({},n,{},e)),n))})}),QF(this,"renderTabTitles",()=>{const e=this.props,t=e.attributes,n=t.tabTitles,a=t.tabBackGroundColor,r=t.activeTabBackgroundColor,o=t.tabTextColor,i=t.activetabTextColor,l=e.block,s=e.clientId;let c="#8b249c";r&&(c=r);let u="#3c1a5b";a&&(u=a);let p="#fff";i&&(p=i);let d="#fff";o&&(d=o);let m=AF()("#block-"+s);const f=this.state.showIconPicker;return n.map((e,t)=>wp.element.createElement("span",{className:"blockspare-tab-item "+(this.state.activeTab==t+1?"blockspare-active":"")},wp.element.createElement("span",{className:"blockspare-tab-title "+(e.iconName?"blockspare-has-icon-"+iconPosition:""),onClick:()=>{let e=AF()("#block-"+l.innerBlocks[t].clientId,m);AF()(".blockspare-tab-content.blockspare-active",m).removeClass("blockspare-active"),e.addClass("blockspare-active"),this.setState({activeTab:t+1,initialRender:!1,showIconPicker:!f})},role:"button",style:{backgroundColor:this.state.activeTab==t+1?c:u,color:this.state.activeTab==t+1?p:d}},wp.element.createElement(pP,{key:"editable",keepPlaceholderOnFocus:!0,placeholder:ZF("Add Tab Title"),value:e.title,onChange:e=>this.updateTitles({title:e},t)})),wp.element.createElement(tP,{text:ZF("Delete this tab")},wp.element.createElement("span",{className:"blockspare-action-tab-remove",onClick:()=>this.deleteTab(t),role:"button"},wp.element.createElement("i",{className:"fas fa-times"})))))}),QF(this,"deleteTab",e=>{const t=this.state.activeTab,n=this.props,a=n.attributes,r=a.tabTitles,o=a.tabs,i=n.setAttributes,l=n.block,s=n.removeBlock,c=n.updateBlockAttributes,u=n.clientId;i({tabTitles:r.filter((t,n)=>n!=e),tabs:o-1});let p=e+1;for(;p<o;)c(l.innerBlocks[p].clientId,Object.assign(l.innerBlocks[p].attributes,{id:l.innerBlocks[p].attributes.id-1})),p++;if(s(l.innerBlocks[e].clientId),e+1===t){let t=AF()("#block-"+u),n=AF()("#block-"+l.innerBlocks[e+1<o?e+1:o>=2?e-1:e].clientId,t);AF()(".blockspare-active",t).removeClass("blockspare-active"),n.addClass("blockspare-active"),this.setState({activeTab:0==e?1:e+1<o?e+1:e,initialRender:!1})}e+1<t&&this.setState({activeTab:t-1,initialRender:!1})}),QF(this,"newTitles",()=>{const e=this.props.attributes,t=e.tabs,n=e.tabTitles;let a=JSON.parse(JSON.stringify(n));return a[t]={title:ZF("Tab "+(t+1)),icon:{}},a}),this.state={device:"md",initialRender:!0,activeTab:1,spacer:!0,showIconPicker:!1}}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}componentDidUpdate(e,t){const n=this.props,a=n.attributes.tabs,r=n.clientId,o=n.block;if(!this.state.initialRender&&e.block.innerBlocks.length<o.innerBlocks.length){let e=AF()("#block-"+r),t=AF()("#block-"+o.innerBlocks[a-1].clientId,e);AF()(".blockspare-active",e).removeClass("blockspare-active"),t.addClass("blockspare-active")}}render(){const e=this.props.attributes,t=e.uniqueId,n=e.tabs,a=(e.tabTitles,e.tabStyle),r=e.tabLayout,o=e.tabAlignment,l=this.props,s=(l.name,l.setAttributes);l.isSelected;let c=[],u=0;for(;u<n;)c.push(u),u++;return wp.element.createElement(sP,null,wp.element.createElement(JF,KF({setAttributes:s},this.props)),wp.element.createElement("div",{className:"blockspare-block-"+t},wp.element.createElement("div",{className:i()("blockspare-block-tab blockspare-tab-style",a,r)},wp.element.createElement("div",{className:i()("blockspare-tab-nav","blockspare-horizontal"==a?o:"")},this.renderTabTitles(),wp.element.createElement(tP,{text:ZF("Add new tab")},wp.element.createElement("strong",{className:"blockspare-add-new-tab",onClick:()=>{this.setState({activeTab:n+1,initialRender:!1}),s({tabs:n+1,tabTitles:this.newTitles()})},role:"button",areaLabel:ZF("Add new tab")},wp.element.createElement("i",{className:"fas fa-plus-circle"})))),wp.element.createElement("div",{className:"blockspare-tab-body"},wp.element.createElement(uP,{tagName:"div",template:c.map(e=>["blockspare/blockspare-tab",{id:e+1,customClassName:0==e?"blockspare-tab-content blockspare-active wp-block-blockspare-blockspare-tab":"blockspare-tab-content wp-block-blockspare-blockspare-tab"}]),templateLock:"all",allowedBlocks:["blockspare/blockspare-tab"]})))))}});const mP=wp.element.Component,fP=wp.blockEditor.InnerBlocks;var bP=class extends mP{constructor(...e){var t,n,a;super(...e),a=()=>{const e=this.props.attributes,t=e.tabTitles,n=e.tabBackGroundColor,a=e.activeTabBackgroundColor,r=e.tabTextColor,o=e.activetabTextColor,i=e.iconPosition;e.tabAlignment;let l="#8b249c";a&&(l=a);let s="#3c1a5b";n&&(s=n);let c="#fff";o&&(c=o);let u="#fff";return r&&(u=r),t.map((e,t)=>wp.element.createElement("span",{className:"blockspare-tab-item "+(0==t?"blockspare-active":"")},wp.element.createElement("span",{class:"blockspare-tab-title "+(e.iconName?"blockspare-has-icon-"+i:""),role:"button",style:{backgroundColor:0==t?l:s,color:0==t?c:u},"tab-bg":s,"atab-bg":l,"tab-text":u,"atab-text":c},e.title)))},(n="renderTabTitles")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}render(){const e=this.props.attributes,t=(e.uniqueId,e.tabs),n=e.tabStyle,a=e.tabLayout,r=e.tabAlignment;let o=[],l=0;for(;l<t;)o.push(l),l++;return wp.element.createElement("div",{className:"blockspare-block"},wp.element.createElement("div",{className:i()("blockspare-block-tab",n,a)},wp.element.createElement("div",{className:i()("blockspare-tab-nav","blockspare-horizontal"==n?r:"")},this.renderTabTitles(o)),wp.element.createElement("div",{className:"blockspare-tab-body"},wp.element.createElement(fP.Content,null))))}};const gP=wp.i18n.__,hP=wp.blocks.registerBlockType,yP=zF.name,vP=zF.category,wP=zF.attributes;hP(yP,{title:gP("BS Tabs","blockspare"),description:gP("Add tabs","blockspare"),category:vP,icon:r.tabs,attributes:wP,supports:{html:!1,className:!1,align:["center","wide","full"]},keywords:[gP("block","blockspare"),gP("tab","blockspare"),gP("tabs","blockspare"),gP("tabbed","blockspare"),gP("content","blockspare")],example:{attributes:{tabTitles:[{title:"Tab 1"},{title:"Tab 2"},{title:"Tab 3"}]},innerBlocks:[{name:"blockspare/blockspare-tab",innerBlocks:[{name:"blockspare/blockspare-tab",attributes:{tabTitles:[{title:"Tab 1"},{title:"Tab 2"},{title:"Tab 3"}]}}]}]},edit:dP,save:bP});var kP=n(102);const _P=wp.element.Component,SP=wp.blockEditor.InnerBlocks;var EP=class extends _P{render(){const e=this.props.attributes.id;return wp.element.createElement("div",{className:"blockspare-tab-content "+(1==e?"blockspare-active":"")},wp.element.createElement(SP.Content,null))}};const TP=wp.element.Component,xP=wp.blockEditor.InnerBlocks;var MP=class extends TP{render(){return wp.element.createElement("div",null,wp.element.createElement(xP,{templateLock:!1}))}};const CP=wp.i18n.__,LP=wp.blocks.registerBlockType,OP=kP.name,DP=kP.category;LP(OP,{title:CP("Tab","blockspare"),category:DP,parent:["blockspare/blockspare-tabs"],supports:{html:!1,inserter:!1,reusable:!1},icon:"cart",attributes:{uniqueId:{type:"string",default:""},id:{type:"number",default:1},customClassName:{type:"string",default:""}},getEditWrapperProps:e=>({"data-tab":e.id,className:"wp-block editor-block-list__block block-editor-block-list__block "+e.customClassName}),edit:MP,save:EP});var jP=e=>{const t=e.attributes,n=t.marginTop,a=t.marginBottom,r=[];return r.push({".blockspare-main-testimonial-wrapper":{marginTop:n?n+"px":void 0,marginBottom:a?a+"px":void 0}}),dt.a.all(r)};const FP=wp.element.Component,PP=wp.compose.compose;var YP=PP(ut,lt(jP))(class extends FP{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.columns,a=t.columnsGap,r=t.align,o=e.className,l=(e.attributes,i()(o,"align"+r)),s=i()(["blockspare-main-testimonial-wrapper","blockspare-testimonial-admin","blockspare-testimonial-columns-"+n,"blockspare-testimonial-gap-"+a]);return wp.element.createElement("div",{className:l},wp.element.createElement("div",{className:s},this.props.styles,this.props.children))}});const NP=wp.components,zP=(NP.IconButton,NP.PanelBody),BP=NP.RangeControl,AP=(NP.ToggleControl,wp.i18n.__),HP=wp.element,IP=HP.Component,RP=(HP.Fragment,wp.blockEditor.InspectorControls);class WP extends IP{render(){const e=this.props,t=(e.attributes,e.isSelectedBlockInRoot,e.attributes),n=(t.uniqueId,t.columns),a=t.columnsGap,r=t.marginTop,o=t.marginBottom,i=e.setAttributes;return wp.element.createElement(RP,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(zP,{title:AP("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(BP,{label:AP("Columns","blockspare"),value:n,onChange:e=>this.props.setAttributes({columns:e}),min:1,max:3}),wp.element.createElement(BP,{label:AP("Columns Gap","blockspare"),value:a,onChange:e=>this.props.setAttributes({columnsGap:e}),min:0,max:4,step:1})),wp.element.createElement(zP,{title:AP("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:r,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>i({marginTop:e}),marginEnableBottom:!0,marginBottom:o,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>i({marginBottom:e})}))))}}n(492),n(493);var UP=n(103);const GP=wp.i18n.__,VP=wp.element.Component,qP=wp.blockEditor,$P=qP.InspectorControls,JP=qP.PanelColorSettings,XP=wp.components,KP=XP.PanelBody,QP=XP.SelectControl,ZP=XP.RangeControl;class eY extends VP{render(){const e=this.props,t=e.attributes,n=(t.starColor,t.starSize,t.enableRatings,t.titleFontSize),a=(t.subtitleFontSize,t.headerTagOption),r=t.headertitleColor,o=t.headersubtitleColor,i=t.headerlayoutOption,l=t.titlePaddingTop,s=t.titlePaddingBottom,c=t.subtitlePaddingTop,u=t.subtitlePaddingBottom,p=t.headerboxColor,d=t.dashColor,m=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor),f=t.backGroundColor,b=(t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.borderRadius,t.titleLoadGoogleFonts),g=t.titleFontFamily,h=t.titleFontWeight,y=t.titleFontSubset,v=t.titleFontSizeType,w=t.titleFontSizeMobile,k=t.titleFontSizeTablet,_=t.subTitleFontSize,S=t.subTitleLoadGoogleFonts,E=t.subTitleFontFamily,T=t.subTitleFontWeight,x=t.subTitleFontSubset,M=t.subTitleFontSizeType,C=t.subTitleFontSizeMobile,L=t.subTitleFontSizeTablet,O=t.descriptionFontSize,D=t.descriptionFontFamily,j=t.descriptionFontWeight,F=t.descriptionFontSubset,P=t.descriptionFontSizeType,Y=t.descriptionFontSizeMobile,N=t.descriptionFontSizeTablet,z=t.descriptionLoadGoogleFonts,B=t.padding,A=t.borderWidth,H=t.borderColor,I=e.attributes,R=e.setAttributes,W=[{value:"blockspare-style1",label:GP("Layout 1","blockspare")},{value:"blockspare-style2",label:GP("Layout 2","blockspare")},{value:"blockspare-style3",label:GP("Layout 3","blockspare")}];return wp.element.createElement($P,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(KP,{title:GP("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(ZP,{label:GP("Testimonial Column Padding","blockspare"),value:B,onChange:e=>this.props.setAttributes({padding:e}),min:0,max:20,step:1}),wp.element.createElement(ZP,{label:GP("Testimonial Column Border","blockspare"),value:A,onChange:e=>this.props.setAttributes({borderWidth:e}),min:0,max:10,step:1})),wp.element.createElement(KP,{title:GP("Color Settings","blockspare"),initialOpen:!1},0<A&&wp.element.createElement(JP,{title:GP("Border Color","blockspare"),initialOpen:!1,colorSettings:[{value:H,onChange:e=>R({borderColor:e}),label:GP("Border Color","blockspare")}]}),wp.element.createElement(JP,{title:GP("Background Color","blockspare"),initialOpen:!1,colorSettings:[{value:f,onChange:e=>R({backGroundColor:e}),label:GP("Background Color","blockspare")}]}),wp.element.createElement(JP,{title:GP("Description Color","blockspare"),initialOpen:!1,colorSettings:[{value:m,onChange:e=>R({testimonialDescriptionTextColor:e}),label:GP("Description Color","blockspare")}]})),wp.element.createElement(KP,{title:GP("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(KP,{title:GP("Layouts","blockspare"),initialOpen:!1},wp.element.createElement(QP,{label:GP("Header Style","blockspare"),value:i,options:W.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>this.props.setAttributes({headerlayoutOption:e})})),wp.element.createElement(KP,{title:GP("Typography Settings","blockspare")},wp.element.createElement(ho,{label:GP("Title Fonts Settings"),attributes:I,setAttributes:R,loadGoogleFonts:{value:b,label:GP("titleLoadGoogleFonts")},fontFamily:{value:g,label:GP("titleFontFamily")},fontWeight:{value:h,label:GP("titleFontWeight")},fontSubset:{value:y,label:GP("titleFontSubset")},fontSizeType:{value:v,label:GP("titleFontSizeType")},fontSize:{value:n,label:GP("titleFontSize")},fontSizeMobile:{value:w,label:GP("titleFontSizeMobile")},fontSizeTablet:{value:k,label:GP("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:a}),wp.element.createElement(ho,{label:GP("Subtitle Fonts Settings"),attributes:I,setAttributes:R,loadGoogleFonts:{value:S,label:GP("subTitleLoadGoogleFonts")},fontFamily:{value:E,label:GP("subTitleFontFamily")},fontWeight:{value:T,label:GP("subTitleFontWeight")},fontSubset:{value:x,label:GP("subTitleFontSubset")},fontSizeType:{value:M,label:GP("subTitleFontSizeType")},fontSize:{value:_,label:GP("subTitleFontSize")},fontSizeMobile:{value:C,label:GP("subTitleFontSizeMobile")},fontSizeTablet:{value:L,label:GP("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),wp.element.createElement(ho,{label:GP("Description"),attributes:I,setAttributes:R,loadGoogleFonts:{value:z,label:GP("descriptionLoadGoogleFonts")},fontFamily:{value:D,label:GP("descriptionFontFamily")},fontWeight:{value:j,label:GP("descriptionFontWeight")},fontSubset:{value:F,label:GP("descriptionFontSubset")},fontSizeType:{value:P,label:GP("descriptionFontSizeType")},fontSize:{value:O,label:GP("descriptionFontSize")},fontSizeMobile:{value:Y,label:GP("descriptionFontSizeMobile")},fontSizeTablet:{value:N,label:GP("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(pn,{enableBlockGaps:!1,headerTagOption:a,onChangeHeaderTag:e=>R({headerTagOption:e}),headerboxColor:p,onChangeboxcolor:e=>R({headerboxColor:e}),dashColor:d,headerlayoutOption:i,onChangeDashColor:e=>R({dashColor:e}),headertitleColor:r,onChangetitlecolor:e=>R({headertitleColor:e}),titlePaddingTop:l,onChangetitlePaddingTop:e=>R({titlePaddingTop:e}),titlePaddingBottom:s,onChangetitlePaddingBottom:e=>R({titlePaddingBottom:e}),headersubtitleColor:o,onChangesubtitlecolor:e=>R({headersubtitleColor:e}),subtitlePaddingTop:c,onChangesubtitlePaddingTop:e=>R({subtitlePaddingTop:e}),subtitlePaddingBottom:u,onChangesubtitlePaddingBottom:e=>R({subtitlePaddingBottom:e})}))))}}function tY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function nY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tY(Object(n),!0).forEach((function(t){aY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function aY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rY=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,o=t.titlePaddingTop,i=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,y=t.subTitleFontFamily,v=(t.subTitleFontWeight,t.subTitleFontSizeType),w=t.subTitleFontSizeMobile,k=t.subTitleFontSizeTablet,_=(t.descriptionColor,t.descriptionFontSize),S=t.descriptionFontFamily,E=t.descriptionFontWeight,T=(t.descriptionFontSubset,t.descriptionFontSizeType),x=t.descriptionFontSizeMobile,M=t.descriptionFontSizeTablet,C=t.headerpaddingTop,L=t.headerpaddingRight,O=t.headerpaddingBottom,D=t.headerpaddingLeft,j=t.headermarginTop,F=t.headermarginBottom,P=t.testimonialDescriptionTextColor,Y=(t.testimonialDescriptionTextSize,t.backGroundColor),N=t.borderRadius,z=t.borderWidth,B=t.borderColor,A=t.padding,H=[];return H.push({".blockspare-block-testimonial-wrap":nY({},Jo(e.attributes),{backgroundColor:Y||"#fff",borderWidth:z?z+"px":null,borderStyle:0<z?"solid":null,borderColor:B||null,borderRadius:N||null,padding:A?A+"px":"15px"})}),H.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:C+"px",paddingRight:L+"px",paddingBottom:O+"px",marginTop:j+"px",marginBottom:F+"px",paddingLeft:D+"px"}}),H.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m+"!important",paddingTop:o+"px ",paddingBottom:i+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+v,fontFamily:y,fontWeight:y+"!important",paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-description":{color:P,fontSize:_+T,fontFamily:S,fontWeight:E+"!important"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+v},".blockspare-description":{fontSize:M+T}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:w+v},".blockspare-description":{fontSize:x+T}}}),dt.a.all(H)};const oY=blockspare_globals,iY=["core/image"],lY=[["core/image",{url:oY.menu_img_url,width:120,height:120,align:"center"}]],sY=wp.i18n.__,cY=wp.element,uY=cY.Component,pY=cY.Fragment,dY=wp.compose.compose,mY=wp.blockEditor,fY=mY.RichText,bY=mY.InnerBlocks;var gY=dY(ut,lt(rY))(class extends uY{render(){const e=this.props,t=e.attributes,n=t.align,a=t.testimonialDescription,r=t.enableRatings,o=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor,t.backGroundColor,t.borderRadius,t.titleLoadGoogleFonts),b=t.titleFontFamily,g=t.titleFontWeight,h=t.subTitleLoadGoogleFonts,y=t.subTitleFontFamily,v=t.subTitleFontWeight,w=t.headerlayoutOption,k=t.sectionAlignment,_=t.descriptionLoadGoogleFonts,S=t.descriptionFontFamily,E=t.descriptionFontWeight,T=e.className,x=e.highlightedStars,M=(e.attributes,e.setAttributes);let C;if(1==_){const e={google:{families:[S+(E?":"+E:"")]}};C=wp.element.createElement(Io,{config:e})}const L=i()([T,"blockspare-testimonials"]);return wp.element.createElement(pY,null,wp.element.createElement(eY,this.props),wp.element.createElement("div",{className:L},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-block-testimonial-wrap")},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(bY,{template:lY,allowedBlocks:iY,templateLock:!0,templateInsertUpdatesSelection:!0})),wp.element.createElement("div",{className:"blockspare-author-designation"},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks","align"+n)},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",w,"blockspare-"+k)},wp.element.createElement($o,{setAttributes:M,headerTitle:d,headerTagOption:p,headerSubTitle:m,titleFontFamily:b,titleFontWeight:g,titleLoadGoogleFonts:f,subTitleLoadGoogleFonts:h,subTitleFontFamily:y,subTitleFontWeight:v}))))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container",onMouseLeave:()=>this.setState({highlightedStars:0})},[...Array(o)].map((e,t)=>wp.element.createElement("div",{className:"blockspare-ratings",key:t,onMouseEnter:()=>{this.setState({highlightedStars:t+1})},onClick:()=>{M(c%1==0?{selectedStars:t+(c-1===t?.5:1)}:{selectedStars:t+(c-.5===t?1:.5)})}},t<(x||c)?x?x-1===t?c%1>0?x-c-.5!=0?wp.element.createElement(lF,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(sF,{size:l,fillColor:s||"#fbd012"}):x-c!=0?wp.element.createElement(sF,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(lF,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(sF,{size:l,fillColor:s||"#fbd012"}):c-t>=1?wp.element.createElement(sF,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(lF,{size:l,fillColor:s||"#fbd012"}):wp.element.createElement(iF,{size:l,fillColor:u||"#d5d3d3"})))))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(fY,{tagName:"p",className:"blockspare-description",onChange:e=>M({testimonialDescription:e}),value:a,placeholder:sY("Description","blockspare"),keepPlaceholderOnFocus:!0})))),C)}});const hY=wp.blockEditor,yY=hY.InnerBlocks,vY=hY.RichText,wY=wp.element.Component,kY=wp.compose.compose;var _Y=kY(ut,lt(rY))(class extends wY{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.testimonialDescription,a=t.sectionAlignment,r=t.enableRatings,o=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.align,b=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor,t.backGroundColor,t.borderRadius,t.headerlayoutOption),g=e.className,h=(e.attributes,(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"})))),y=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let v=[];for(let e=0;e<o;e++)v.push(e<c?c-e>=1?(w=l,k=s,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:k||"#fbd012",width:w,height:w,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):h(l,s):y(l,u));var w,k;const _=i()([g,"blockspare-testimonials"]);return wp.element.createElement("div",{className:_},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-block-testimonial-wrap")},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(yY.Content,null)),wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks","align"+f)},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",b,"blockspare-"+a)},wp.element.createElement(Ei,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container"},v))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(vY.Content,{tagName:"p",className:"blockspare-description",value:n}))))}}),SY=n(104);function EY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function TY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?EY(Object(n),!0).forEach((function(t){xY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MY=e=>{const t=e.attributes,n=t.sectionAlignment,a=t.headertitleColor,r=t.titleFontSize,o=t.titlePaddingTop,i=t.titlePaddingBottom,l=t.headersubtitleColor,s=(t.subtitleFontSize,t.subtitlePaddingTop),c=t.subtitlePaddingBottom,u=t.dashColor,p=t.headerboxColor,d=t.titleFontFamily,m=t.titleFontWeight,f=t.titleFontSizeType,b=t.titleFontSizeMobile,g=t.titleFontSizeTablet,h=t.subTitleFontSize,y=t.subTitleFontFamily,v=(t.subTitleFontWeight,t.subTitleFontSizeType),w=t.subTitleFontSizeMobile,k=t.subTitleFontSizeTablet,_=(t.descriptionColor,t.descriptionFontSize),S=t.descriptionFontFamily,E=t.descriptionFontWeight,T=(t.descriptionFontSubset,t.descriptionFontSizeType),x=t.descriptionFontSizeMobile,M=t.descriptionFontSizeTablet,C=t.headerpaddingTop,L=t.headerpaddingRight,O=t.headerpaddingBottom,D=t.headerpaddingLeft,j=t.headermarginTop,F=t.headermarginBottom,P=t.testimonialDescriptionTextColor,Y=(t.testimonialDescriptionTextSize,t.backGroundColor),N=t.borderRadius,z=[];return z.push({".blockspare-block-testimonial-wrap":TY({},Jo(e.attributes),{backgroundColor:Y||"#fff",borderRadius:N||null})}),z.push({".blockspare-section-head-wrap":{backgroundColor:p||"transparent",textAlign:n,paddingTop:C+"px",paddingRight:L+"px",paddingBottom:O+"px",marginTop:j+"px",marginBottom:F+"px",paddingLeft:D+"px"}}),z.push({".blockspare-section-head-wrap .blockspare-title":{color:a,fontSize:r+f,fontFamily:d,fontWeight:m+"!important",paddingTop:o+"px ",paddingBottom:i+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:l,fontSize:h+v,fontFamily:y,fontWeight:y+"!important",paddingTop:s+"px",paddingBottom:c+"px"},".blockspare-description":{color:P,fontSize:_+T,fontFamily:S,fontWeight:E+"!important"},".blockspare-title-dash":{color:u},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:g+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:k+v},".blockspare-description":{fontSize:M+T}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:b+f},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:w+v},".blockspare-description":{fontSize:x+T}}}),dt.a.all(z)};const CY=wp.blockEditor,LY=CY.InnerBlocks,OY=CY.RichText,DY=wp.element.Component,jY=wp.compose.compose;var FY=jY(ut,lt(MY))(class extends DY{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.testimonialDescription,a=t.sectionAlignment,r=t.enableRatings,o=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.align,b=(t.testimonialDescriptionTextSize,t.testimonialDescriptionTextColor,t.backGroundColor,t.borderRadius,t.headerlayoutOption),g=e.className,h=(e.attributes,(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"})))),y=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let v=[];for(let e=0;e<o;e++)v.push(e<c?c-e>=1?(w=l,k=s,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:k||"#fbd012",width:w,height:w,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):h(l,s):y(l,u));var w,k;const _=i()([g,"blockspare-testimonials"]);return wp.element.createElement("div",{className:_},this.props.styles,wp.element.createElement("div",{className:i()("blockspare-block-testimonial-wrap")},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(LY.Content,null)),wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks","align"+f)},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",b,"blockspare-"+a)},wp.element.createElement(Ei,{headerTitle:d,headerTagOption:p,headerSubTitle:m})))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container"},v))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(OY.Content,{tagName:"p",className:"blockspare-description",value:n}))))}});function PY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function YY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PY(Object(n),!0).forEach((function(t){NY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function NY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zY=wp.blockEditor,BY=zY.InnerBlocks,AY=zY.RichText;var HY=[{attributes:YY({},nn,{},SY.attributes,{},an),save:function(e){const t=e.attributes,n=t.testimonialDescription,a=t.sectionAlignment,r=t.enableRatings,o=t.starCount,l=t.starSize,s=t.starColor,c=t.selectedStars,u=t.emptyStarColor,p=t.headerTagOption,d=t.headerTitle,m=t.headerSubTitle,f=t.testimonialDescriptionTextSize,b=t.testimonialDescriptionTextColor,g=t.backGroundColor,h=t.borderRadius,y=YY({},Di(e.attributes)),v=YY({},ji(e.attributes)),w=YY({},Fi(e.attributes)),k=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"}," ",wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#fbd012",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l0,0l0,0l139.103,120.539L97.41,497.25L255,402.186l0,0 l157.59,95.039l-41.692-179.239L510,197.472z M255,354.348V117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166 L255,354.348z"}))),_=(e,t)=>wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:t||"#d5d3d3",width:e,height:e,viewBox:"0 0 510 510"},wp.element.createElement("path",{d:"M510,197.472l-183.37-15.734L255,12.75l-71.629,168.988L0,197.472l139.103,120.539L97.41,497.25L255,402.186 l157.59,95.064l-41.692-179.239L510,197.472z M255,354.348l-95.957,57.886l25.398-109.166l-84.736-73.389l111.69-9.588 L255,117.172l43.605,102.918l111.689,9.588l-84.711,73.389l25.398,109.166L255,354.348z"})));let S=[];for(let e=0;e<o;e++)S.push(e<c?c-e>=1?(E=l,T=s,wp.element.createElement("div",{className:"blockspare-ratings"},wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:T||"#fbd012",width:E,height:E,viewBox:"0 0 510 510"},wp.element.createElement("polygon",{points:"255,402.212 412.59,497.25 370.897,318.011 510,197.472 326.63,181.738 255,12.75 183.371,181.738 0,197.472 139.103,318.011 97.41,497.25"})))):k(l,s):_(l,u));var E,T;return wp.element.createElement("div",{className:i()("blockspare-block-testimonial-wrap"),style:YY({},Jo(e),{borderRadius:h||null,backgroundColor:g||"#fff"})},wp.element.createElement("div",{className:"blockspare-author-wrap"},wp.element.createElement("div",{className:"blockspare-img-wrapper"},wp.element.createElement(BY.Content,null)),wp.element.createElement("div",{className:"blockspare-section-head-wrap",style:{textAlign:a}},wp.element.createElement(Wi,e,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:y}),d&&wp.element.createElement(AY.Content,{tagName:p,className:"blockspare-title",style:v,value:d}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:y})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:y}),m&&wp.element.createElement(AY.Content,{tagName:"p",className:"blockspare-subtitle",style:w,value:m}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:y}))))),r&&wp.element.createElement("div",{className:"blockspare-star-rating"},wp.element.createElement("div",{className:"blockspare-star-outer-container"},wp.element.createElement("div",{className:"blockspare-star-inner-container"},S))),wp.element.createElement("div",{className:"blockspare-testimonial-content"},wp.element.createElement(AY.Content,{tagName:"p",className:"blockspare-description",value:n,style:{fontSize:f+"px",color:b||"#6d6d6d"}})))}},{attributes:YY({},nn,{},SY.attributes,{},an),save:e=>wp.element.createElement(FY,e)}];function IY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function RY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const WY=wp.i18n.__,UY=wp.blocks.registerBlockType,GY=UP.category,VY=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?IY(Object(n),!0).forEach((function(t){RY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},nn,{},UP.attributes,{},an),qY={title:WY("Testimonial Item","blockspare"),description:WY("Display creative testimonial.","blockspare"),parent:["blockspare/blockspare-testimonial"],icon:r.testimonial,category:GY,supports:{html:!1,inserter:!1,reusable:!1},attributes:VY,edit:gY,save:_Y,deprecated:HY};UY("blockspare/testimonial-item",qY);wp.i18n.__;const $Y=wp.element,JY=$Y.Component,XY=$Y.Fragment,KY=wp.blocks.createBlock,QY=wp.data,ZY=QY.withSelect,eN=QY.withDispatch,tN=wp.blockEditor.InnerBlocks,nN=wp.compose.compose;var aN=nN([ZY((e,t)=>{const n=t.clientId,a=e("core/block-editor"),r=a.getBlock,o=a.isBlockSelected,i=a.hasSelectedInnerBlock;return{block:r(n),isSelectedBlockInRoot:o(n)||i(n,!0)}}),eN(e=>{const t=e("core/block-editor");return{insertBlock:t.insertBlock,updateBlockAttributes:t.updateBlockAttributes}})])(class extends JY{constructor(...e){var t,n,a;super(...e),a=e=>{const t=[],n=e.defaultItems;for(let e=0;e<n;e++)t.push(["blockspare/testimonial-item",{}]);return t},(n="getTestimonialTemplate")in(t=this)?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a}componentDidMount(){const e=this.props,t=e.setAttributes,n=e.clientId,a=e.attributes.uniqueId,r=n.substr(0,6);a?a&&a!=r&&t({uniqueId:r}):t({uniqueId:r})}insertTestimonialItem(){let e;const t=this.props,n=t.clientId,a=t.insertBlock,r=t.block;if(r.innerBlocks&&r.innerBlocks.length){const t=r.innerBlocks[r.innerBlocks.length-1].attributes.itemNumber+1,n=qY.heading;e=Object.assign({},{},{itemNumber:t,heading:n,active:!1,defaultText:""})}else e=qY;a(KY("blockspare/testimonial-item",e),void 0,n)}render(){const e=this.props.attributes;return[wp.element.createElement(XY,null,wp.element.createElement(WP,this.props),wp.element.createElement(YP,this.props,wp.element.createElement(tN,{template:this.getTestimonialTemplate(e),allowedBlocks:["blockspare/testimonial-item"]})))]}});const rN=wp.element.Component,oN=wp.blockEditor.InnerBlocks,iN=wp.compose.compose;var lN=iN(ut,lt(jP))(class extends rN{render(){const e=this.props,t=e.attributes,n=t.columns,a=t.columnsGap,r=t.align,o=(t.backgroundColor,e.className),l=i()(o,"align"+r),s=i()(["blockspare-main-testimonial-wrapper","blockspare-testimonial-columns-"+n,"blockspare-testimonial-gap-"+a]);return wp.element.createElement("div",{className:l},wp.element.createElement("div",{className:s},this.props.styles,wp.element.createElement(oN.Content,null)))}}),sN=n(38);const cN=wp.element.Component,uN=wp.blockEditor.InnerBlocks;var pN=class extends cN{render(){const e=this.props.attributes,t=e.columns,n=e.columnsGap,a=e.align,r=e.backgroundColor,o=i()([this.props.className,"blockspare-testimonial-wrapper","blockspare-testimonial-columns-"+t,"blockspare-testimonial-gap-"+n],{["align"+a]:a});return wp.element.createElement("div",{className:o||void 0,style:{backgroundColor:r||"transparent"}},wp.element.createElement(uN.Content,null))}};var dN=[{attributes:{serviceItems:{type:"number",default:2},columns:{type:"number",default:2},columnsGap:{type:"number",default:1},align:{type:"string",default:"center"},defaultItems:{type:"number",default:2},marginTop:{type:"number",default:30},marginBottom:{type:"number",default:30}},save:e=>wp.element.createElement(pN,e)}];const mN=wp.i18n.__,fN=wp.blocks.registerBlockType,bN=sN.name,gN=sN.category,hN=sN.attributes;fN(bN,{title:mN("BS Testimonial","blockspare"),description:mN("Add a testimonial","blockspare"),category:gN,icon:r.testimonial,attributes:hN,keywords:[mN("block","blockspare"),mN("testimonial","blockspare"),mN("team","blockspare"),mN("rating","blockspare")],example:{attributes:{cover:"https://blockspare.com",author:"blockspare",pages:500}},supports:{align:["wide","full","center"],html:!0},edit:aN,save:lN,deprecated:dN});n(494),n(495);var yN=n(71);const vN=wp.i18n.__,wN=wp.element.Component,kN=wp.blockEditor,_N=kN.InspectorControls,SN=kN.PanelColorSettings,EN=wp.components,TN=EN.PanelBody,xN=(EN.ToggleControl,EN.SelectControl),MN=EN.TextControl;EN.RangeControl;class CN extends wN{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.profileTextColor,a=(t.profileBackgroundColor,t.twitter),r=t.facebook,o=(t.instagram,t.youtube,t.linkedin),i=(t.buttonFill,t.paddingTop),l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.marginTop,p=t.marginBottom,d=(t.iconColorOption,t.customfontColorOption,t.custombackgroundColorOption,t.buttonShapes),m=t.buttonSizes,f=t.titleFontSize,b=(t.subtitleFontSize,t.headerTagOption),g=t.headertitleColor,h=t.headersubtitleColor,y=t.headerlayoutOption,v=t.titlePaddingTop,w=t.titlePaddingBottom,k=t.subtitlePaddingTop,_=t.subtitlePaddingBottom,S=t.headerboxColor,E=t.dashColor,T=(t.enableBoxShadow,t.xOffset,t.yOffset,t.blur,t.spread,t.shadowColor,t.borderRadius,t.titleLoadGoogleFonts),x=t.titleFontFamily,M=t.titleFontWeight,C=t.titleFontSubset,L=t.titleFontSizeType,O=t.titleFontSizeMobile,D=t.titleFontSizeTablet,j=t.subTitleFontSize,F=t.subTitleLoadGoogleFonts,P=t.subTitleFontFamily,Y=t.subTitleFontWeight,N=t.subTitleFontSubset,z=t.subTitleFontSizeType,B=t.subTitleFontSizeMobile,A=t.subTitleFontSizeTablet,H=t.descriptionFontSize,I=t.descriptionFontFamily,R=t.descriptionFontWeight,W=t.descriptionFontSubset,U=t.descriptionFontSizeType,G=t.descriptionFontSizeMobile,V=t.descriptionFontSizeTablet,q=t.descriptionLoadGoogleFonts,$=e.attributes,J=e.setAttributes,X=[{value:"blockspare-style1",label:vN("Layout 1","blockspare")},{value:"blockspare-style2",label:vN("Layout 2","blockspare")},{value:"blockspare-style3",label:vN("Layout 3","blockspare")}],K=(vN(" Official","blockspare"),vN("Custom","blockspare"),[{value:"blockspare-social-icon-square",label:vN("Square","blockspare")},{value:"blockspare-social-icon-circle",label:vN("Circle","blockspare")},{value:"blockspare-social-icon-rounded",label:vN("Rounded Square","blockspare")}]),Q=[{value:"blockspare-social-icon-small",label:vN("Small","blockspare")},{value:"blockspare-social-icon-medium",label:vN("Medium","blockspare")},{value:"blockspare-social-icon-large",label:vN("Large","blockspare")}];vN("Solid","blockspare"),vN("Border","blockspare"),vN("None","blockspare");return wp.element.createElement(_N,{key:"inspector"},wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(TN,{title:vN("Header Settings","blockspare"),initialOpen:!1},wp.element.createElement(TN,{title:vN("Layouts","blockspare"),initialOpen:!1},wp.element.createElement(xN,{label:vN("Header Style","blockspare"),value:y,options:X.map(({value:e,label:t})=>({value:e,label:t})),onChange:e=>this.props.setAttributes({headerlayoutOption:e})})),wp.element.createElement(TN,{title:vN("Typography Settings","blockspare")},wp.element.createElement(ho,{label:vN("Title Fonts Settings"),attributes:$,setAttributes:J,loadGoogleFonts:{value:T,label:vN("titleLoadGoogleFonts")},fontFamily:{value:x,label:vN("titleFontFamily")},fontWeight:{value:M,label:vN("titleFontWeight")},fontSubset:{value:C,label:vN("titleFontSubset")},fontSizeType:{value:L,label:vN("titleFontSizeType")},fontSize:{value:f,label:vN("titleFontSize")},fontSizeMobile:{value:O,label:vN("titleFontSizeMobile")},fontSizeTablet:{value:D,label:vN("titleFontSizeTablet")},disableLineHeight:!0,disableTag:!1,headerTagOption:b}),wp.element.createElement(ho,{label:vN("Subtitle Fonts Settings"),attributes:$,setAttributes:J,loadGoogleFonts:{value:F,label:vN("subTitleLoadGoogleFonts")},fontFamily:{value:P,label:vN("subTitleFontFamily")},fontWeight:{value:Y,label:vN("subTitleFontWeight")},fontSubset:{value:N,label:vN("subTitleFontSubset")},fontSizeType:{value:z,label:vN("subTitleFontSizeType")},fontSize:{value:j,label:vN("subTitleFontSize")},fontSizeMobile:{value:B,label:vN("subTitleFontSizeMobile")},fontSizeTablet:{value:A,label:vN("subTitleFontSizeTablet")},disableLineHeight:!0,disableTag:!0}),wp.element.createElement(ho,{label:vN("Description Fonts Settings"),attributes:$,setAttributes:J,loadGoogleFonts:{value:q,label:vN("descriptionLoadGoogleFonts")},fontFamily:{value:I,label:vN("descriptionFontFamily")},fontWeight:{value:R,label:vN("descriptionFontWeight")},fontSubset:{value:W,label:vN("descriptionFontSubset")},fontSizeType:{value:U,label:vN("descriptionFontSizeType")},fontSize:{value:H,label:vN("descriptionFontSize")},fontSizeMobile:{value:G,label:vN("descriptionFontSizeMobile")},fontSizeTablet:{value:V,label:vN("descriptionFontSizeTablet")},disableLineHeight:!0})),wp.element.createElement(pn,{enableBlockGaps:!1,headerTagOption:b,onChangeHeaderTag:e=>J({headerTagOption:e}),headerboxColor:S,onChangeboxcolor:e=>J({headerboxColor:e}),dashColor:E,headerlayoutOption:y,onChangeDashColor:e=>J({dashColor:e}),headertitleColor:g,onChangetitlecolor:e=>J({headertitleColor:e}),titlePaddingTop:v,onChangetitlePaddingTop:e=>J({titlePaddingTop:e}),titlePaddingBottom:w,onChangetitlePaddingBottom:e=>J({titlePaddingBottom:e}),headersubtitleColor:h,onChangesubtitlecolor:e=>J({headersubtitleColor:e}),subtitlePaddingTop:k,onChangesubtitlePaddingTop:e=>J({subtitlePaddingTop:e}),subtitlePaddingBottom:_,onChangesubtitlePaddingBottom:e=>J({subtitlePaddingBottom:e})})),wp.element.createElement(TN,{title:vN("Color Settings","blockspare"),initialOpen:!1},wp.element.createElement(SN,{title:vN("Colors","blockspare"),initialOpen:!1,colorSettings:[{value:n,onChange:e=>J({profileTextColor:e}),label:vN("Description Color","blockspare")}]})),wp.element.createElement(TN,{title:vN("Social link Urls","blockspare"),className:"blockspare-hide-query",initialOpen:!1},wp.element.createElement(MN,{label:vN("Facebook Url","blockspare"),type:"text",value:r,onChange:e=>this.props.setAttributes({facebook:e})}),wp.element.createElement(MN,{label:vN("LinkedIn Url","blockspare"),type:"text",value:o,onChange:e=>this.props.setAttributes({linkedin:e})}),wp.element.createElement(MN,{label:vN("Twitter Url","blockspare"),type:"text",value:a,onChange:e=>this.props.setAttributes({twitter:e})})),wp.element.createElement(TN,{title:vN("Social Icon Option","blockspare"),initialOpen:!1},wp.element.createElement(xN,{label:vN("Size","blockspare"),options:Q,value:m,onChange:e=>this.props.setAttributes({buttonSizes:e})}),wp.element.createElement(xN,{label:vN("Shape","blockspare"),options:K,value:d,onChange:e=>this.props.setAttributes({buttonShapes:e})})),wp.element.createElement(TN,{title:vN("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(TN,{title:vN("Padding Settings","blockspare"),initialOpen:!1},wp.element.createElement(De,{paddingEnableTop:!0,paddingTop:i,paddingTopMin:"0",paddingTopMax:"100",onChangePaddingTop:e=>J({paddingTop:e}),paddingEnableRight:!0,paddingRight:l,paddingRightMin:"0",paddingRightMax:"100",onChangePaddingRight:e=>J({paddingRight:e}),paddingEnableBottom:!0,paddingBottom:s,paddingBottomMin:"0",paddingBottomMax:"100",onChangePaddingBottom:e=>J({paddingBottom:e}),paddingEnableLeft:!0,paddingLeft:c,paddingLeftMin:"0",paddingLeftMax:"100",onChangePaddingLeft:e=>J({paddingLeft:e})})),wp.element.createElement(TN,{title:vN("Margin Settings","blockspare"),initialOpen:!1},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:u,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>J({marginTop:e}),marginEnableBottom:!0,marginBottom:p,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>J({marginBottom:e})})))))}}wp.element.Component;const LN=wp.i18n.__,ON=wp.element.Component;class DN extends ON{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.facebook,n=e.linkedin,a=e.instagram,r=e.twitter,o=e.youtube,l=e.iconColorOption,s=e.buttonShapes,c=e.buttonSizes,u=e.buttonOptions,p=e.buttonFills;return wp.element.createElement("ul",{className:i()("blockspare-social-links",l,s,c,u,p)},t&&wp.element.createElement("li",null,wp.element.createElement("a",{href:t,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},LN("Facebook","blockspare"))))),n&&wp.element.createElement("li",null,wp.element.createElement("a",{href:n,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},LN("Linkedin","blockspare"))))),a&&wp.element.createElement("li",null,wp.element.createElement("a",{href:a,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},LN("Instagram","blockspare"))))),r&&wp.element.createElement("li",null,wp.element.createElement("a",{href:r,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},LN("Twitter","blockspare"))))),o&&wp.element.createElement("li",null,wp.element.createElement("a",{href:o,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("span",{className:"blockspare-social-icons"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},LN("Youtube","blockspare"))))))}}const jN=wp.element.Component;class FN extends jN{constructor(e){super(...arguments)}render(){return wp.element.createElement("div",{className:"blockspare-profile-column blockspare-profile-avatar-wrap"},wp.element.createElement("div",{className:"blockspare-profile-image-wrap"},this.props.children))}}function PN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function YN(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?PN(Object(n),!0).forEach((function(t){NN(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PN(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function NN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zN=e=>{const t=e.attributes,n=t.profileBackgroundColor,a=t.profileTextColor,r=t.borderRadius,o=t.iconColorOption,i=t.paddingTop,l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.marginTop,p=t.marginBottom,d=(t.profileContentFontSize,t.sectionAlignment),m=t.headertitleColor,f=t.titleFontSize,b=t.titlePaddingTop,g=t.titlePaddingBottom,h=t.headersubtitleColor,y=(t.subtitleFontSize,t.subtitlePaddingTop),v=t.subtitlePaddingBottom,w=t.dashColor,k=t.headerboxColor,_=t.titleFontFamily,S=t.titleFontWeight,E=t.titleFontSizeType,T=t.titleFontSizeMobile,x=t.titleFontSizeTablet,M=t.subTitleFontSize,C=t.subTitleFontFamily,L=t.subTitleFontWeight,O=t.subTitleFontSizeType,D=t.subTitleFontSizeMobile,j=t.subTitleFontSizeTablet,F=(t.descriptionColor,t.descriptionFontSize),P=t.descriptionFontFamily,Y=t.descriptionFontWeight,N=(t.descriptionFontSubset,t.descriptionFontSizeType),z=t.descriptionFontSizeMobile,B=t.descriptionFontSizeTablet,A=t.headerpaddingTop,H=t.headerpaddingRight,I=t.headerpaddingBottom,R=t.headerpaddingLeft,W=t.headermarginTop,U=t.headermarginBottom,G=t.customfontColorOption,V=t.custombackgroundColorOption,q=[];return q.push({".blockspare-author-wrapper":{backgroundColor:n||"#fff",paddingTop:i?i+"px":"0px",paddingRight:l?l+"px":"0px",paddingBottom:s?s+"px":"0px",paddingLeft:c?c+"px":"0px"},".blockspare-section-wrapper":{marginTop:u?u+"px":"0px",marginBottom:p?p+"px":"0px"},".blockspare-block-profile":YN({},Jo(e.attributes),{color:a||"#6d6d6d",borderRadius:r||null}),".blockspare-profile-text-description":{fontSize:F+N,fontFamily:P+"!important",fontWeight:Y+"!important"}}),"blockspare-default-official-color"!=o&&q.push({".blockspare-social-links a span":{color:G,backgroundColor:V}}),q.push({".blockspare-section-head-wrap":{backgroundColor:k||"transparent",textAlign:d,paddingTop:A+"px",paddingRight:H+"px",paddingBottom:I+"px",marginTop:W+"px",marginBottom:U+"px",paddingLeft:R+"px"}}),q.push({".blockspare-section-head-wrap .blockspare-title":{color:m,fontSize:f+E,fontFamily:_,fontWeight:S+"!important",paddingTop:b+"px ",paddingBottom:g+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:h,fontSize:M+O,fontFamily:C,fontWeight:L+"!important",paddingTop:y+"px",paddingBottom:v+"px"},".blockspare-user-profile-desc":{fontSize:F+N,fontFamily:P,fontWeight:Y+"!important"},".blockspare-title-dash":{color:w},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:x+E},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:j+O},".blockspare-user-profile-desc":{fontSize:B+N}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:T+E},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:D+O},".blockspare-user-profile-desc":{fontSize:z+N}}}),dt.a.all(q)};function BN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function AN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const HN=wp.compose.compose,IN=blockspare_globals,RN=["core/image"],WN=[["core/image",{url:IN.menu_img_url,width:120,height:120,align:"center"}]],UN=wp.i18n.__,GN=wp.element,VN=GN.Component,qN=GN.Fragment,$N=wp.blockEditor,JN=$N.RichText,XN=$N.AlignmentToolbar,KN=$N.BlockControls,QN=$N.InnerBlocks;var ZN=HN(ut,lt(zN))(class extends VN{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.headerTagOption,r=t.headerTitle,o=t.headerSubTitle,l=t.profileContent,s=t.headerlayoutOption,c=t.titleLoadGoogleFonts,u=t.titleFontFamily,p=t.titleFontWeight,d=t.subTitleLoadGoogleFonts,m=t.subTitleFontFamily,f=t.subTitleFontWeight,b=t.descriptionLoadGoogleFonts,g=t.descriptionFontFamily,h=t.descriptionFontWeight,y=e.className,v=(e.attributes,e.setAttributes);let w,k="";if(k="left"==n?"blockspare-layout-left":"right"==n?"blockspare-layout-right":"blockspare-layout-center",1==b){const e={google:{families:[g+(h?":"+h:"")]}};w=wp.element.createElement(Io,{config:e})}const _=i()([y,"blockspare-authorprofile"]);return wp.element.createElement(qN,null,wp.element.createElement("div",{className:_},wp.element.createElement("div",{className:"blockspare-section-wrapper"},this.props.styles,wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks"},wp.element.createElement(KN,{key:"controls"},wp.element.createElement(XN,{value:n,onChange:e=>v({sectionAlignment:e})})),wp.element.createElement(CN,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?BN(Object(n),!0).forEach((function(t){AN(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):BN(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:v},this.props)),wp.element.createElement("div",{className:i()("blockspare-profile-admin",k,"blockspare-block-profile","blockspare-profile-columns")},wp.element.createElement(FN,this.props,wp.element.createElement(QN,{template:WN,allowedBlocks:RN,templateLock:!0,templateInsertUpdatesSelection:!0})),wp.element.createElement("div",{className:i()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks")},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",s,"blockspare-"+n)},wp.element.createElement($o,{setAttributes:v,headerTitle:r,headerTagOption:a,headerSubTitle:o,titleFontFamily:u,titleFontWeight:p,titleLoadGoogleFonts:c,subTitleLoadGoogleFonts:d,subTitleFontFamily:m,subTitleFontWeight:f}))),wp.element.createElement(JN,{tagName:"div",className:i()("blockspare-profile-text","blockspare-user-profile-desc"),multiline:"p",placeholder:UN("Add your content...","blockspare"),keepPlaceholderOnFocus:!0,value:l,allowedFormats:["bold","italic","strikethrough","link"],onChange:e=>v({profileContent:e})}),wp.element.createElement(DN,this.props)))),w)))}});const ez=wp.compose.compose,tz=wp.element.Component,nz=wp.blockEditor,az=nz.RichText,rz=nz.InnerBlocks;var oz=ez(ut,lt(zN))(class extends tz{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.profileContent,r=t.headerTagOption,o=t.headerTitle,l=t.headerSubTitle,s=(t.profileContentFontSize,t.headerlayoutOption),c=t.align,u=e.className,p=i()([u,"blockspare-authorprofile"]);let d="";return d="left"==n?"blockspare-layout-left":"right"==n?"blockspare-layout-right":"blockspare-layout-center",wp.element.createElement("div",{className:p},wp.element.createElement("div",{className:"blockspare-section-wrapper"},this.props.styles,wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks"},wp.element.createElement("div",{className:i()(d,"blockspare-block-profile","blockspare-profile-columns")},wp.element.createElement(FN,this.props,wp.element.createElement(rz.Content,null)),wp.element.createElement("div",{className:i()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks","align"+c)},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",s,"blockspare-"+n)},wp.element.createElement(Ei,{headerTitle:o,headerTagOption:r,headerSubTitle:l}))),a&&wp.element.createElement(az.Content,{tagName:"div",className:i()("blockspare-profile-text","blockspare-user-profile-desc"),value:a}),wp.element.createElement(DN,this.props))))))}}),iz=n(105);function lz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function sz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const cz=wp.element.Component;class uz extends cz{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.align,a=t.sectionAlignment,r=t.headerlayoutOption,o=e.attributes,l=(e.setAttributes,e.isSelected,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lz(Object(n),!0).forEach((function(t){sz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ai(o)));return wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks","align"+n),style:l},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",r,"blockspare-"+a)},this.props.children))}}function pz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function dz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pz(Object(n),!0).forEach((function(t){mz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fz=wp.i18n.__,bz=wp.element.Component,gz=wp.blockEditor,hz=gz.RichText,yz=gz.InnerBlocks;class vz extends bz{constructor(){super(...arguments)}render(){const e=this.props.attributes,t=e.sectionAlignment,n=e.profileImgURL,a=e.profileFontSize,r=e.profileBackgroundColor,o=e.profileTextColor,l=e.profileAvatarShape,s=e.borderRadius,c=e.profileContent,u=e.paddingTop,p=e.paddingRight,d=e.paddingBottom,m=e.paddingLeft,f=e.marginTop,b=e.marginBottom,g=e.headerTagOption,h=e.headerTitle,y=e.headerSubTitle,v=e.profileContentFontSize,w=e.iconColorOption,k=e.customfontColorOption,_=e.custombackgroundColorOption,S=e.facebook,E=e.linkedin,T=e.instagram,x=e.twitter,M=e.youtube,C=e.buttonShapes,L=e.buttonSizes,O=e.buttonOptions,D=e.buttonFills,j={paddingTop:u?u+"px":"0px",paddingRight:p?p+"px":"0px",paddingBottom:d?d+"px":"0px",paddingLeft:m?m+"px":"0px",marginTop:f?f+"px":"0px",marginBottom:b?b+"px":"0px"};let F="";F="left"==t?"blockspare-layout-left":"right"==t?"blockspare-layout-right":"blockspare-layout-center";const P=dz({},Di(this.props.attributes)),Y=dz({},ji(this.props.attributes)),N=dz({},Fi(this.props.attributes));let z="";return z="blockspare-default-official-color"!=w?{color:k,backgroundColor:_}:{},wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks",style:j},wp.element.createElement("div",{style:dz({},Jo(this.props.attributes),{backgroundColor:r||"#f2f2f2",color:o||"#6d6d6d",borderRadius:s||null}),className:i()(this.props.className,l,F,{"blockspare-has-avatar":n},"blockspare-font-size-"+a,"blockspare-block-profile","blockspare-profile-columns")},wp.element.createElement(FN,this.props,wp.element.createElement(yz.Content,null)),wp.element.createElement("div",{className:i()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement(uz,this.props,wp.element.createElement("div",{className:"blockspare-title-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:P}),h&&wp.element.createElement(hz.Content,{tagName:g,className:"blockspare-title",style:Y,value:h}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:P})),wp.element.createElement("div",{className:"blockspare-subtitle-wrapper"},wp.element.createElement("span",{className:"blockspare-title-dash blockspare-upper-dash",style:P}),y&&wp.element.createElement(hz.Content,{tagName:"p",className:"blockspare-subtitle",style:N,value:y}),wp.element.createElement("span",{className:"blockspare-title-dash blockspare-lower-dash",style:P}))),c&&wp.element.createElement(hz.Content,{tagName:"div",className:"blockspare-profile-text",value:c,style:{fontSize:v+"px"}}),wp.element.createElement("ul",{className:i()("blockspare-social-links",w,C,L,O,D)},S&&wp.element.createElement("li",null,wp.element.createElement("a",{style:z,href:S,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},fz("Facebook","blockspare")))),E&&wp.element.createElement("li",null,wp.element.createElement("a",{style:z,href:E,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},fz("Linkedin","blockspare")))),T&&wp.element.createElement("li",null,wp.element.createElement("a",{style:z,href:T,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},fz("Instagram","blockspare")))),x&&wp.element.createElement("li",null,wp.element.createElement("a",{style:z,href:x,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},fz("Twitter","blockspare")))),M&&wp.element.createElement("li",null,wp.element.createElement("a",{style:z,href:M,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},fz("Youtube","blockspare"))))))))}}const wz=wp.element.Component;class kz extends wz{constructor(e){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.profileImgURL,r=t.profileFontSize,o=t.profileAvatarShape;e.attributes;let l="";return l="left"==n?"blockspare-layout-left":"right"==n?"blockspare-layout-right":"blockspare-layout-center",wp.element.createElement("div",{className:i()(this.props.className,o,l,{"blockspare-has-avatar":a},"blockspare-font-size-"+r,"blockspare-block-profile","blockspare-profile-columns")},this.props.children)}}const _z=wp.i18n.__,Sz=wp.element.Component;class Ez extends Sz{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.facebook,n=e.linkedin,a=e.instagram,r=e.twitter,o=e.youtube,l=e.iconColorOption,s=e.buttonShapes,c=e.buttonSizes,u=e.buttonOptions,p=e.buttonFills;return wp.element.createElement("ul",{className:i()("blockspare-social-links",l,s,c,u,p)},t&&wp.element.createElement("li",null,wp.element.createElement("a",{href:t,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-facebook-f"}),wp.element.createElement("span",{className:"screen-reader-text"},_z("Facebook","blockspare")))),n&&wp.element.createElement("li",null,wp.element.createElement("a",{href:n,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-linkedin"}),wp.element.createElement("span",{className:"screen-reader-text"},_z("Linkedin","blockspare")))),a&&wp.element.createElement("li",null,wp.element.createElement("a",{href:a,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-instagram"}),wp.element.createElement("span",{className:"screen-reader-text"},_z("Instagram","blockspare")))),r&&wp.element.createElement("li",null,wp.element.createElement("a",{href:r,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-twitter"}),wp.element.createElement("span",{className:"screen-reader-text"},_z("Twitter","blockspare")))),o&&wp.element.createElement("li",null,wp.element.createElement("a",{href:o,className:"",target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"fab fa-youtube"}),wp.element.createElement("span",{className:"screen-reader-text"},_z("Youtube","blockspare")))))}}function Tz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function xz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tz(Object(n),!0).forEach((function(t){Mz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cz=e=>{const t=e.attributes,n=t.profileBackgroundColor,a=t.profileTextColor,r=t.borderRadius,o=t.iconColorOption,i=t.paddingTop,l=t.paddingRight,s=t.paddingBottom,c=t.paddingLeft,u=t.marginTop,p=t.marginBottom,d=(t.profileContentFontSize,t.sectionAlignment),m=t.headertitleColor,f=t.titleFontSize,b=t.titlePaddingTop,g=t.titlePaddingBottom,h=t.headersubtitleColor,y=(t.subtitleFontSize,t.subtitlePaddingTop),v=t.subtitlePaddingBottom,w=t.dashColor,k=t.headerboxColor,_=t.titleFontFamily,S=t.titleFontWeight,E=t.titleFontSizeType,T=t.titleFontSizeMobile,x=t.titleFontSizeTablet,M=t.subTitleFontSize,C=t.subTitleFontFamily,L=t.subTitleFontWeight,O=t.subTitleFontSizeType,D=t.subTitleFontSizeMobile,j=t.subTitleFontSizeTablet,F=(t.descriptionColor,t.descriptionFontSize),P=t.descriptionFontFamily,Y=t.descriptionFontWeight,N=(t.descriptionFontSubset,t.descriptionFontSizeType),z=t.descriptionFontSizeMobile,B=t.descriptionFontSizeTablet,A=t.headerpaddingTop,H=t.headerpaddingRight,I=t.headerpaddingBottom,R=t.headerpaddingLeft,W=t.headermarginTop,U=t.headermarginBottom,G=t.customfontColorOption,V=t.custombackgroundColorOption,q=[];return q.push({".blockspare-author-wrapper":{backgroundColor:n||"#fff",paddingTop:i?i+"px":"0px",paddingRight:l?l+"px":"0px",paddingBottom:s?s+"px":"0px",paddingLeft:c?c+"px":"0px",marginTop:u?u+"px":"0px",marginBottom:p?p+"px":"0px"},".blockspare-block-profile":xz({},Jo(e.attributes),{color:a||"#6d6d6d",borderRadius:r||null}),".blockspare-profile-text-description":{fontSize:F+N,fontFamily:P+"!important",fontWeight:Y+"!important"}}),"blockspare-default-official-color"!=o&&q.push({".blockspare-social-links a":{color:G,backgroundColor:V}}),q.push({".blockspare-section-head-wrap":{backgroundColor:k||"transparent",textAlign:d,paddingTop:A+"px",paddingRight:H+"px",paddingBottom:I+"px",marginTop:W+"px",marginBottom:U+"px",paddingLeft:R+"px"}}),q.push({".blockspare-section-head-wrap .blockspare-title":{color:m,fontSize:f+E,fontFamily:_,fontWeight:S+"!important",paddingTop:b+"px ",paddingBottom:g+"px"},".blockspare-section-head-wrap .blockspare-subtitle":{color:h,fontSize:M+O,fontFamily:C,fontWeight:L+"!important",paddingTop:y+"px",paddingBottom:v+"px"},".blockspare-user-profile-desc":{fontSize:F+N,fontFamily:P,fontWeight:Y+"!important"},".blockspare-title-dash":{color:w},tablet:{".blockspare-section-head-wrap .blockspare-title":{fontSize:x+E},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:j+O},".blockspare-user-profile-desc":{fontSize:B+N}},mobile:{".blockspare-section-head-wrap .blockspare-title":{fontSize:T+E},".blockspare-section-head-wrap .blockspare-subtitle":{fontSize:D+O},".blockspare-user-profile-desc":{fontSize:z+N}}}),dt.a.all(q)};const Lz=wp.compose.compose,Oz=wp.element.Component,Dz=wp.blockEditor,jz=Dz.RichText,Fz=Dz.InnerBlocks;var Pz=Lz(ut,lt(Cz))(class extends Oz{constructor(){super(...arguments)}render(){const e=this.props,t=e.attributes,n=t.sectionAlignment,a=t.profileContent,r=t.headerTagOption,o=t.headerTitle,l=t.headerSubTitle,s=(t.profileContentFontSize,t.headerlayoutOption),c=t.align,u=e.className,p=i()([u,"blockspare-authorprofile"]);return wp.element.createElement("div",{className:p},this.props.styles,wp.element.createElement("div",{className:"blockspare-author-wrapper blockspare-blocks"},wp.element.createElement(kz,this.props,wp.element.createElement(FN,this.props,wp.element.createElement(Fz.Content,null)),wp.element.createElement("div",{className:i()("blockspare-profile-column blockspare-profile-content-wrap")},wp.element.createElement("div",{className:i()("blockspare-section-header-wrapper blockspare-blocks","align"+c)},wp.element.createElement("div",{className:i()("blockspare-section-head-wrap",s,"blockspare-"+n)},wp.element.createElement(Ei,{headerTitle:o,headerTagOption:r,headerSubTitle:l}))),a&&wp.element.createElement(jz.Content,{tagName:"div",className:i()("blockspare-profile-text","blockspare-user-profile-desc"),value:a}),wp.element.createElement(Ez,this.props)))))}});function Yz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Nz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yz(Object(n),!0).forEach((function(t){zz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bz=[{attributes:Nz({},nn,{},iz.attributes,{},an),save:e=>wp.element.createElement(vz,e)},{attributes:Nz({},nn,{},iz.attributes,{},an),save:e=>wp.element.createElement(Pz,e)}];function Az(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Hz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Iz=wp.i18n.__,Rz=wp.blocks.registerBlockType,Wz=yN.name,Uz=yN.category,Gz=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Az(Object(n),!0).forEach((function(t){Hz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Az(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},nn,{},yN.attributes,{},an);Rz(Wz,{title:Iz("BS User Profile","blockspare"),description:Iz("Add User profile","blockspare"),category:Uz,icon:r.userprofile,attributes:Gz,keywords:[Iz("block","blockspare"),Iz("user","blockspare"),Iz("profile","blockspare"),Iz("team","blockspare")],example:{attributes:{profileBackgroundColor:"#f2f2f2"}},edit:ZN,save:oz,deprecated:Bz});n(496),n(497);const Vz=wp.i18n.__,qz=wp.element,$z=qz.Component,Jz=(qz.Fragment,wp.blockEditor),Xz=Jz.InspectorControls,Kz=Jz.PanelColorSettings,Qz=wp.components,Zz=Qz.PanelBody,eB=Qz.RangeControl;class tB extends $z{constructor(e){super(...arguments)}render(){const e=this.props.attributes,t=e.design,n=void 0===t?"double-wave":t,a=(e.width,e.height),r=e.color,o=e.marginTop,i=e.marginBottom,l=this.props.setAttributes;return wp.element.createElement(Xz,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(Ul,null,wp.element.createElement(Al,{onChange:e=>l({design:e}),selected:n,excludeDesigns:["straight-1"]})),wp.element.createElement(Zz,{title:Vz("Divider Settings","blockspare"),initialOpen:!1},wp.element.createElement(Kz,{title:Vz("Shape Color","blockspare"),initialOpen:!0,colorSettings:[{value:r,onChange:e=>l({color:e}),label:Vz("Shape Color","blockspare")}]}),wp.element.createElement(eB,{label:Vz("Height","blockspare"),value:a,onChange:e=>l({height:e}),min:30,step:2,max:300})),wp.element.createElement(Zz,{title:Vz("Block Gaps Settings","blockspare"),initialOpen:!1},wp.element.createElement(Zz,{title:Vz("Margin Settings","blockspare"),initialOpen:!0},wp.element.createElement(Ye,{marginEnableTop:!0,marginTop:o,marginTopMin:"0",marginTopMax:"100",onChangeMarginTop:e=>l({marginTop:e}),marginEnableBottom:!0,marginBottom:i,marginBottomMin:"0",marginBottomMax:"100",onChangeMarginBottom:e=>l({marginBottom:e})})))))}}function nB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function aB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nB(Object(n),!0).forEach((function(t){rB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oB=e=>{const t=e.attributes,n=t.height,a=t.color,r=[];return r.push({".blockspare-svg-wrapper":aB({color:a||"#3c1a5b",height:n+"px"},Xo(e.attributes))}),dt.a.all(r)};function iB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function lB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wp.i18n.__;const sB=wp.element,cB=sB.Component,uB=sB.Fragment,pB=wp.compose.compose;var dB=pB(ut,lt(oB))(class extends cB{constructor(e){super(...arguments)}render(){const e=this.props,t=e.className,n=e.attributes,a=n.design,r=void 0===a?"double-wave":a,o=n.layer1Shadow,l=void 0!==o&&o,s=n.width,c=(n.height,n.verticalFlip),u=n.horizontalFlip,p=(n.color,e.attributes,e.isSelected),d=e.setAttributes,m=i()([t]);let f=i()("blockspare-blocks blockspare-svg-wrapper",function(e){return"has-width-"+e.toString().replace(".","-")}(s),{"is-vertically-flipped":c,"is-horizontally-flipped":u});return wp.element.createElement(uB,null,wp.element.createElement(tB,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iB(Object(n),!0).forEach((function(t){lB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({setAttributes:d},this.props)),p&&wp.element.createElement(qc,this.props),wp.element.createElement("div",{className:m},this.props.styles,wp.element.createElement("div",{className:f},wp.element.createElement(Ac,{design:r,shadow:l,className:"blockspare-svg-svg-inner"}))))}});const mB=wp.element,fB=mB.Component,bB=mB.Fragment,gB=wp.compose.compose;var hB=gB(ut,lt(oB))(class extends fB{render(){const e=this.props.className,t=this.props,n=t.attributes,a=n.design,r=void 0===a?"double-wave":a,o=(n.align,n.width),l=(n.height,n.verticalFlip),s=n.horizontalFlip,c=(n.color,t.attributes,i()([e]));let u=i()("blockspare-blocks blockspare-svg-wrapper",{"is-vertically-flipped":l,"is-horizontally-flipped":s},function(e){return"has-width-"+e.toString().replace(".","-")}(o));return wp.element.createElement(bB,null,wp.element.createElement("div",{className:c},this.props.styles,wp.element.createElement("div",{className:u},wp.element.createElement(Ac,{design:r,className:"blockspare-svg-svg-inner"}))))}});var yB=n(16);const vB=wp.element,wB=vB.Component,kB=vB.Fragment,_B=wp.compose.compose;var SB=_B(ut,lt(oB))(class extends wB{render(){const e=this.props.className,t=this.props,n=t.attributes,a=n.design,r=void 0===a?"double-wave":a,o=n.align,l=n.width,s=(n.height,n.verticalFlip),c=n.horizontalFlip,u=(n.color,t.attributes,i()([e]));let p=i()("blockspare-blocks blockspare-svg-wrapper",e,{"is-vertically-flipped":s,"is-horizontally-flipped":c},"align"+o,function(e){return"has-width-"+e.toString().replace(".","-")}(l));return wp.element.createElement(kB,null,wp.element.createElement("div",{className:u},this.props.styles,wp.element.createElement("div",{className:p},wp.element.createElement(Ac,{design:r,className:"blockspare-svg-svg-inner"}))))}});function EB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function TB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?EB(Object(n),!0).forEach((function(t){xB(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EB(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const MB=wp.element,CB=(MB.Component,MB.Fragment);var LB=[{attributes:TB({},yB.attributes),save:function(e){const t=e.attributes,n=t.design,a=void 0===n?"double-wave":n,r=t.align,o=t.width,l=t.height,s=t.verticalFlip,c=t.horizontalFlip,u=t.color,p=t.className;t.attributes;let d=i()(p,{"is-vertically-flipped":s,"is-horizontally-flipped":c},"align"+r,"blockspare-blocks blockspare-svg-wrapper",function(e){return"has-width-"+e.toString().replace(".","-")}(o));return wp.element.createElement(CB,null,wp.element.createElement("div",{className:d,style:TB({color:u||"#3c1a5b",height:l},Xo(e.attributes))},wp.element.createElement(Ac,{design:a,className:"blockspare-svg-svg-inner"})))}},{attributes:TB({},yB.attributes),save:e=>wp.element.createElement(SB,e)}];const OB=wp.i18n.__,DB=wp.blocks.registerBlockType,jB=yB.name,FB=yB.category,PB=yB.attributes;DB(jB,{title:OB("BS Shape Divider","blockspare"),description:OB("Decorations for section shapes.","blockspare"),category:FB,icon:r.shapediviver,attributes:PB,keywords:[OB("shape","blockspare"),OB("divider","blockspare"),OB("space","blockspare")],supports:{align:["wide","full","center"]},example:{design:"double-wave",color:"#3c1a5b"},edit:dB,save:hB,deprecated:LB});var YB=n(36);const NB=wp.element.Component,zB=wp.i18n.__,BB=wp.blockEditor,AB=BB.PanelColorSettings,HB=BB.InspectorControls,IB=wp.components,RB=IB.RangeControl,WB=IB.PanelBody;class UB extends NB{render(){const e=this.props.attributes,t=e.height,n=e.backGroundColor,a=this.props.setAttributes;return wp.element.createElement(HB,null,wp.element.createElement("div",{className:"blockspare-inspector-wrapper"},wp.element.createElement(WB,{title:zB("Block Settings","blockspare"),initialOpen:!1},wp.element.createElement(RB,{label:zB("Height","blockspare"),value:t,onChange:e=>a({height:e}),min:0,step:5,max:150}),wp.element.createElement(AB,{title:zB("Background Color","blockspare"),initialOpen:!0,colorSettings:[{value:n,onChange:e=>a({backGroundColor:e}),label:zB("Background Color","blockspare")}]}))))}}var GB=e=>{const t=e.attributes,n=t.height,a=t.backGroundColor,r=[];return r.push({".blockspare-emptysection":{height:n+"px",width:"100%",backgroundColor:a||"#fff"}}),dt.a.all(r)};const VB=wp.element,qB=VB.Component,$B=VB.Fragment,JB=wp.compose.compose;var XB=JB(ut,lt(GB))(class extends qB{render(){const e=this.props,t=(e.height,e.backGroundColor,e.className),n=i()([t,"blockspare-blocks blockspare-empty-section-wrapper"]);return wp.element.createElement($B,null,wp.element.createElement(UB,this.props),wp.element.createElement("div",{className:n},this.props.styles,wp.element.createElement("div",{className:"blockspare-emptysection"})))}});const KB=wp.element,QB=KB.Component,ZB=(KB.Fragment,wp.compose.compose);var eA=ZB(ut,lt(GB))(class extends QB{render(){const e=this.props,t=(e.height,e.backGroundColor,e.className),n=i()([t,"blockspare-blocks blockspare-empty-section-wrapper"]);return wp.element.createElement("div",{className:n},this.props.styles,wp.element.createElement("div",{className:"blockspare-emptysection"}))}});function tA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function nA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var aA=[{attributes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tA(Object(n),!0).forEach((function(t){nA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},YB.attributes),save:function(e){const t=e.attributes,n=t.height,a=t.backGroundColor;return wp.element.createElement("div",{className:"blockspare-blocks blockspare-empty-section-wrapper"},wp.element.createElement("div",{className:"blockspare-section",style:{height:n+"px",width:"100%",backgroundColor:a||"#fff"}}))}}];function rA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function oA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const iA=YB.name,lA=YB.category,sA=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rA(Object(n),!0).forEach((function(t){oA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},YB.attributes),cA=wp.blocks.registerBlockType,uA=wp.i18n.__;cA(iA,{title:uA("BS Empty Section","blockspare"),description:uA("Empty Section","blockspare"),category:lA,icon:r.emptySpaces,attributes:sA,keywords:[uA("empty","blockspare")],supports:{align:["wide","full","center"]},example:{attributes:{cover:"https://blockspare.com",author:"Blockspare",pages:500}},edit:XB,save:eA,deprecated:aA})},function(e,t){},,,,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},,function(e,t){},function(e,t){},,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){}]); |